by damned truths

submit your photo

Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

OK so the relation math is easy enough.

If you know the size of an object, say a 12" ruler in the image, and you put the ruler flat against another object like a door. You take a picture of the door with the ruler.

The ruler is 12in, and is found to be 120px tall in the image. the door is found to be 1200px, which when you do the easy math, is 10ft, or 120in.

However that is not how it works, in reality the image has some form of distortion, so a direct relation will not work. It has something to do with gathering light, and focal points/lengths or something. What do I need to account for to make this relationship work?

what we have so far

(12in / 120px) = (unknownHeight / 1200px)
(12in / 120px) * 1200px = unkownHeight
0.1ppi * 1200px = 120in or 10ft

But in reality if the ruler is 12in and 120px, the 10ft door will be like 1100px, so we need to account for like the lens or something?

What am I missing?


share|improve this question
google "photogrammetry" and begin your journey into the complex world of "the science of making measurements from photographs." –  dav1dsm1th Apr 25 at 19:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.