Is Distance Always Positive or Can It Be Negative?

In everyday physics, yes. Distance is always positive (or zero). It measures how much ground an object has covered along its path, and that value can never dip below zero. However, the full answer depends on context, because several fields of science and math use the word “distance” in ways that allow negative values.

Why Distance Is Always Non-Negative

Distance is a scalar quantity, meaning it has magnitude but no direction. It tells you how much total path an object has traveled, regardless of which way it went. Think of your car’s odometer: it accumulates miles whether you drive north, south, or in circles. It never subtracts when you reverse direction. That running total is distance, and it only goes up.

The reason is baked into the math. On a number line, the distance between two points is just the absolute value of their difference. In two or three dimensions, the standard distance formula squares each coordinate difference, adds those squares together, and takes the square root. Since squaring a number always produces something zero or positive, and a square root of a non-negative number is itself non-negative, the result can never be negative.

In formal mathematics, a “metric” (the general term for a distance function) must satisfy a strict set of rules. One of those rules is that the distance between any two distinct points is always greater than zero. The only time distance equals zero is when the two points are actually the same point. There is no rule that allows the output to be negative.

Distance vs. Displacement

This distinction trips up a lot of students. Distance and displacement sound interchangeable, but they measure different things.

Distance is how much ground you covered in total. If you walk 3 meters east and then 3 meters back west, your distance is 6 meters. Displacement is how far you ended up from where you started, and in what direction. In that same walk, your displacement is zero, because you returned to your starting point. Displacement is a vector, so it carries a sign (or direction). It can absolutely be negative if you define one direction as positive and move the other way. Distance cannot.

When a physics problem gives you a negative number and calls it “distance,” it is almost certainly talking about displacement or using a sign convention (more on that below).

When “Distance” Carries a Sign

Several specialized fields attach a positive or negative sign to a quantity they still call “distance.” This is where the simple answer gets more nuanced.

Directed Distance

A directed distance is really a vector. It tells you not just how far apart two points are, but which direction you’d travel to get from one to the other. Saying “Newton is 150 miles southwest of Lawrence” is a directed distance: it includes both a magnitude (150 miles) and a direction (southwest). In one dimension, direction collapses into a simple plus or minus sign. A point 5 units to the left of the origin might be described as being at a directed distance of negative 5. The magnitude of that directed distance, the actual distance, is still 5.

Optics Sign Conventions

In optics, object distance and image distance routinely take negative values. For a thin lens, the image distance is labeled negative when the image forms on the same side as the incoming light (a virtual image). For a spherical mirror, the object distance is negative when the object sits behind the mirror. These signs aren’t saying that physical space has become negative. They encode which side of the lens or mirror something is on, making the math of the thin lens equation work out correctly.

Signed Distance Functions in Computing

Computer graphics and 3D modeling use something called a signed distance function to describe shapes. The function returns zero on the surface of a shape, a positive value at points on one side of the surface, and a negative value on the other side. Which side is positive and which is negative depends on the convention, but the key idea is that the sign tells you whether a point is inside or outside the shape. The magnitude still tells you how far the point is from the surface.

Spacetime Intervals in Relativity

In Einstein’s relativity, the “distance” between two events in spacetime is called the spacetime interval. Unlike ordinary distance, this quantity can be positive, negative, or zero, depending on the relationship between the spatial separation and the time separation of the two events. A negative squared interval (called a spacelike interval) doesn’t mean something physically absurd is happening. It means the two events are far enough apart in space that not even light could travel between them in the available time. The sign classifies the type of separation rather than indicating a direction.

The Short Version for Physics Class

If you’re taking introductory physics or math, the answer your teacher expects is: distance is always zero or positive. It is a scalar with no direction, and the formulas used to calculate it guarantee a non-negative result. Displacement, on the other hand, can be negative because it includes direction.

If you encounter a negative “distance” in a problem, look closely at the context. You’re likely dealing with displacement, a sign convention (as in optics), or a more advanced concept like a spacetime interval that redefines what “distance” means. In none of these cases has ordinary, everyday distance become negative. The word is just doing double duty.