
Type the coordinates of two points and this program gives you the straight-line distance between them.
Send it to your calculator
Plug the calculator into your computer with a USB cable, then use the button below. If something is not working, see troubleshooting.
Checking your browser…
Open it on the calculator
- Press the
prgmkey. The PROGRAMMING menu opens.

- Press
enterto select TI-Basic. The list of TI-Basic programs opens.
- Press
enteron DISTANCE in the program list, which puts prgmDISTANCE on the home screen. - Press
enterto run it. The program asks for four numbers one at a time: the x and y of your first point, then the x and y of your second point.
Find the distance between two points
- Type each coordinate and press
enterafter it, using the (-) key for a negative. For the points (−2, 1) and (4, 9), the moment you enter the last number it answers Distance=10.
Good to know
- It's the distance formula, worked out for you. The program computes √((x₂ − x₁)² + (y₂ − y₁)²), the straight-line gap between your two points. That's the Pythagorean theorem with the horizontal and vertical distances as the two legs, so the Pythagorean Theorem program handles the same idea when you start from the sides of a triangle instead of two points.
- Negative coordinates work. Type them with the (-) key, not the subtraction key, and the program takes care of the subtraction. Points (−2, 1) and (4, 9) give Distance=10.
- Answers that aren't whole come out as decimals. Points (0, 0) and (1, 1) give 1.414213562 rather than the exact √2.
- Rerun it with one keypress. Pressing enter on the home screen repeats whatever you ran last, so right after a run a single enter starts a fresh set of prompts.