How to use the rectangle calculator
Calculate the area and perimeter of a rectangle using its width and height. Match the on-screen corners to a small rectangular object, or enter dimensions that you already know. Calibrate your display before using the shape for direct physical measurements.
How to use the rectangle calculator, step by step
1) Choose cm or inch in the toolbar. 2) Type the width and height into the panel, or calibrate your screen and drag the corner handles to fit a small rectangular object. 3) Read the area (cm² or in²) and the perimeter. Drag inside the rectangle to move it without changing its size.
Rectangle area and perimeter formulas
Area equals width × height. Perimeter equals 2 × (width + height). A rectangle 8 cm wide and 4.5 cm high has an area of 36 cm² and a perimeter of 25 cm. Check the squared unit when comparing areas.
Fit a rectangle to an object
Drag the upper-left and lower-right handles to align the rectangle with the outside edges of your object. Drag inside the shape to move it without changing its dimensions. The width and height fields also let you construct a specific reference size.
Understand squared-unit conversions
One inch is 2.54 cm, but one square inch is 6.4516 cm². Area conversion uses the square of the length conversion factor. Switching the toolbar unit converts the length and area readings consistently.
Worked examples
An A4 sheet (21 × 29.7 cm) has an area of 623.7 cm² and a perimeter of 101.4 cm. A 4 × 6 inch photo is 24 in², and since 1 in² = 6.4516 cm², that is about 154.8 cm². Area conversions multiply the length ratio twice, so divide cm² by 6.4516 to get in².
When it helps
Estimate wrapping paper or vinyl film by calculating the area to cover and adding about 10%. A 120 × 60 cm wall section takes 7200 ÷ 900 = 8 tiles of 30 × 30 cm, plus one or two spares for cutting. It is also handy for comparing frame openings or screen areas.
Perimeter versus area
Perimeter is the length around the edge (cm); area is the surface inside (cm²). Use perimeter for trim and ribbon, area for paint and film. Doubling both sides doubles the perimeter but quadruples the area.
Related tools
Need the side lengths first? The online ruler measures them in cm or inches at actual size after calibration. For round objects such as plates, lids or coins, use the circle calculator to get circumference and area from a diameter.
A few common questions
Can I calculate the area of a square?
Yes. Enter the same width and height. A square with sides of 5 cm has an area of 25 cm² and a perimeter of 20 cm.
Does this work for every quadrilateral?
The formulas apply to rectangles and squares. Trapezoids and other quadrilaterals require different area formulas.
How do I convert cm² to square inches?
Divide by 6.4516, because one square inch is 2.54 × 2.54 = 6.4516 cm². For example, 100 cm² is about 15.5 in². Switching the unit in the toolbar converts the result automatically.
How do I get the area in square meters?
Divide square centimeters by 10,000, since 1 m = 100 cm and 1 m² = 10,000 cm². A 120 × 60 cm wall section is 7,200 cm², or 0.72 m².
Can I measure a real object with it?
Yes, if it fits on the screen. Calibrate first, then drag the corner handles to the outside edges of the object. For larger objects, measure the sides with a tape measure and type them in.