Enter coordinates for endpoints and viola. The length will be calculated to the millionths place.
Thanks to Pythagoras for finding this really helpful theorem! You should really try to learn why and how this works, especially if you are using it for math class. If you already know the principles, this is helpful to speed up calculations.