An ultrasound is important because it can determine the exact length of your pregnancy and can diagnose an ectopic pregnancy (a pregnancy outside the womb).