Area Calculator from Image
Area from an image = shoelace area in pixels × (real length ÷ pixel length of a reference)². Example: a 0.9 m door that spans 90 px gives 1 px = 1 cm, so a room drawn as 400 × 300 px is 120,000 px² × (0.01 m)² = 12 m² (129.17 sq ft). For a 1:100 plan saved at 96 DPI, 1 px = 0.0254 m ÷ 96 × 100 = 2.646 cm.
How to use
- Load the image: drop a photo, screenshot or floor plan on the box, paste it with Ctrl+V, or take a picture with your phone camera from the file picker. It is not uploaded.
- Set the scale. Reference line: tap both ends of something whose length you know and type it. Plan scale: enter 1:N and the DPI. Rectangle: tap the 4 corners of a real rectangle and enter its size, which also removes perspective.
- Draw: tap each corner of the area, then tap the first point or press Close shape. Add more shapes for more rooms, tick Subtract to cut out holes, and drag points to fine-tune. Pinch, scroll or use + and − to zoom.
- Read each area, the perimeter and the total in m², ft², yd², cm², ha or acres, then download a marked-up PNG or a CSV.
How it works
Scale from a reference line: metres per pixel k = real length ÷ distance between the two points in pixels. Plan scale: k = (0.0254 m ÷ DPI) × N for a 1:N drawing, because one pixel is 1/DPI inch on paper. Area in m² = pixel area × k², perimeter = pixel perimeter × k.
Pixel area uses the shoelace formula, A = ½ |Σ (xᵢ·yᵢ₊₁ − xᵢ₊₁·yᵢ)|, which is exact for any simple polygon (L-shaped rooms, irregular plots). Holes are drawn as separate shapes marked Subtract and their area is taken off the total.
Perspective mode solves the 8-parameter projective transform (homography) that maps the 4 tapped corners onto a w × h rectangle, then maps every point of your shapes onto that real plane before applying the shoelace formula. It is exact for anything lying flat in the same plane as the rectangle.
Units: 1 ft = 0.3048 m, 1 ft² = 0.09290304 m², 1 yd² = 0.83612736 m², 1 acre = 4,046.8564224 m², 1 ha = 10,000 m².
Errors grow with the square of the scale error: a reference that is 2% off gives about 4% area error. Use the longest reference you can, zoom in when placing points, and keep the camera square to the surface.
Sources: NIST SP 811, Guide for the Use of the SI (ft, in, acre conversion factors) · Hartley & Zisserman, Multiple View Geometry, ch. 4 (DLT homography)Last reviewed 2026-10-23
FAQ
How do I calculate area from a picture?
Load the picture, mark something of known length to set the scale, then tap around the area. The tool multiplies the pixel area by the square of the scale. Example: if 100 px = 1 m, then 50,000 px² = 5 m².
How do I calculate square footage from a floor plan?
Load the plan, choose Reference line, tap the two ends of a dimension (for example a wall marked 12 ft) and enter 12 ft. Then trace each room. Use one shape per room; the total adds them up. If the plan has a printed scale such as 1:50 and you know the DPI, use Plan scale instead.
Can I measure area with my phone camera?
Yes. Take a photo straight down or straight on, with something of known size on the same surface (an A4 sheet is 29.7 × 21 cm, a credit card 8.56 × 5.398 cm). If the photo is at an angle, use the rectangle mode and tap the 4 corners of that object.
Why is my result wrong for a photo taken at an angle?
In an angled photo, far parts look smaller, so a single scale cannot be right everywhere. Use the rectangle mode: it corrects perspective for a flat surface. It cannot fix objects that are not on that plane, lens distortion, or curved surfaces.
Can I measure a distance in a photo?
Yes. Set the scale, then tap two or more points without closing the shape. The list shows the length of that line in m, ft or the unit that matches your area unit.
Is my image uploaded?
No. The image is read and drawn by your browser only. The link you share keeps only the settings (scale mode, units, reference length), never the image or the points.
What DPI should I use for a scanned plan?
Use the DPI the plan was scanned or exported at (often 150, 200 or 300). Screenshots of PDFs have an unknown DPI, so for those a reference line on a dimension you can read is more reliable.