Carpet Calculator

Turn a carpet's shape, size and unit price into its area and total cost.

Six shapes, eight length units, six area units and 20 currencies in one model.

Updated October 28, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

Introduction

A carpet is quoted by the square metre, the square foot or the square yard, and it is bought by the piece. This page answers the two questions in that order: how much surface the piece covers, and what that surface costs at the price you were quoted.

Start from whichever end you have. With the shape and its measurements the area is worked out for you; with a measured area the same page works back to the dimension that produced it. The price works the same way in reverse, so a fixed budget becomes a floor space rather than a guess. Every box is live: the area, the dimensions, the unit price and the total all respond to whichever two or three of them you fill in.

That makes it useful in three ordinary situations: sizing a rug before you order it, checking a quote that arrived in units you do not normally work in, and working out how far a set budget goes. What it prices is the carpet’s own surface. Fitting is a separate arithmetic — roll width, seams, pile direction and pattern repeat — and this page deliberately leaves that to you and your fitter.

6 shapes

Five formulas, plus an area you measure yourself

8 length units

Including feet/inches and metres/centimetres boxes

20 currencies

Priced per m², ft², yd², in², cm² or dm²

Quick start

1

Pick the shape you can actually measure

Rectangle is loaded to begin with, and it covers more carpets than the other five put together — runners, broadloom cuts, and any rug whose corners are rounded. Choose the circle, the oval or one of the two regular polygons only when the piece really is one.

2

Type the measurements the shape asks for

A rectangle takes a length and a width; a circle takes a radius; an oval takes its two semi-axes; a pentagon or a hexagon takes one side. Each box has its own unit menu, so a length in feet and a width in metres are both fine. For a 3.6 m by 2.7 m carpet the area appears as 9.72 m².

3

Enter the price in the way the shop quoted it

The price box carries two menus of its own: the currency, and the area the price is quoted per. They are independent of the area box above, which is why a carpet sold by the square foot can still be measured in square metres. At 14.50 per square metre the total reads 140.94.

4

Check the working, then read the money

Both steps are ordinary arithmetic, and the page shows the area it used:

AA==3.6×2.73.6 \times 2.7==9.72 m29.72\ \mathrm{m^2}
CC==9.72×14.509.72 \times 14.50==140.94 USD140.94\ \mathrm{USD}

Money is shown to the cent, so the rounding happens at the last step rather than in the middle of the calculation. Where the area is a long decimal — an oval almost always is — the total is still worked out from the whole area rather than from the shorter figure on screen, so a rounded area never becomes a rounded invoice.

The five area formulas

Each shape is a single equation, and each equation is also solved backwards when you supply the area and leave the dimension empty. None of them is a rounded table: the value of π\ \pi and the two irrational constants are worked out from their definitions rather than pasted in as approximations.

Rectangle

A=L×WA = L \times W

Length times width, and the reverse directions come from the same sentence: the length is the area divided by the width, the width is the area divided by the length. That is also what lets you mix the two sources inside one rectangle — type the area a fitter gave you plus a measured length, and the width comes back.

Circle

AA==πr2\pi r^{2}

The radius is half the diameter — the distance from the centre to the edge, not across the whole rug. Give the page the area instead and it returns r=A/π\ r = \sqrt{A / \pi}.

Oval, taken as an ellipse

AA==πab\pi a b

Both axes are halves, not full measurements

The two boxes are the semi-axes, which is what makes the formula a plain product. An oval that is 4 m long and 6 m wide over its full extent has semi-axes of 2 m and 3 m and an area of 18.8496 m². Type the full 4 and 6 into those boxes instead and you get 75.3982 m² — four times the true area, because both measurements are counted twice.

Regular pentagon

AA==s225+1054\frac{s^{2}\sqrt{25 + 10\sqrt{5}}}{4}

One side is enough because a regular pentagon fixes every other dimension, and the constant under the root is what its 108° interior angle turns that side into. A pentagon with a 2.5 m side covers 10.753 m².

Regular hexagon

AA==323 s2\frac{3}{2}\sqrt{3}\,s^{2}

Six equilateral triangles of side ss, which is where the three halves come from. For the same 2.5 m side the area is 16.238 m²: six triangles of that edge pack more floor than five, so the hexagon comes out about half again as large as the pentagon.

ShapeArea when 2.5 m is enteredWhat the 2.5 m is
Circle19.635 m²the radius — a rug 5 m across
Pentagon10.753 m²the side
Hexagon16.238 m²the side

Read the last column twice. The circle row is the largest only because 2.5 m is its radius, which makes that rug 5 m across; halve it to 1.25 m and the same rug covers 4.90874 m², less than either polygon. Shops usually quote a round rug by its diameter, so halve the figure before typing it here.

The two polygon rows are directly comparable, because both take a side: for the same 2.5 m edge the hexagon covers about half again as much floor as the pentagon. For scale, a square 2.5 m on a side covers 6.25 m², so a circle 2.5 m across covers about four fifths of the square around it — the ratio is the same for every circle, whatever its size.

An area you measured yourself

Choose Other shapes and the geometry drops out of the calculation entirely: the carpet area becomes a plain input, and only the price step runs. Use it for an octagon, a shaped landing, a room with a bay, or any figure you measured with a planimeter or off a plan.

The price step

C=A×PC = A \times P

Cost is area times the price per unit area, with two reverse forms: A=C/P\ A = C / P when you start from a budget, and P=C/A\ P = C / A when you have a total and want to know what the square metre worked out at. That last direction is the useful one for comparing two quotes that arrived in different units.

Units are normalised before anything multiplies

Lengths are converted to metres, areas to square metres, and the price to a price per square metre in a single currency, and only then does the multiplication run. A price of 3.50 per square foot is 37.67 per square metre inside the calculation; one square foot is 0.09290304 m² exactly, because the inch is defined as 0.0254 m and its square carries no rounding.

AACarpet area, in square metres inside the calculation
L, WL,\ WLength and width of a rectangle
rrCircle radius, half the diameter
a, ba,\ bSemi-axes of the oval
ssSide of the regular pentagon or hexagon
PPPrice per unit area, in the currency you choose
CCTotal carpet cost

Worked examples

1

A bedroom measured in feet, priced by the square foot

Situation: The room is 12 ft by 9 ft and the carpet you like is quoted at 3.50 per square foot. Both boxes are left in feet.

Inputs

Length12 ft
Width9 ft
Carpet area unitsquare feet (ft²)
Price3.50 USD/ft23.50\ \mathrm{USD/ft^2}

Result

AA==12×912 \times 9==108 ft2108\ \mathrm{ft^2}
CC==108×3.50108 \times 3.50==378.00 USD378.00\ \mathrm{USD}

3.50 per square foot is the same price as 37.67 per square metre, which is the number to quote when the next shop prices in metric.

In practice: Keep the area menu in square feet while you shop in square feet — 108 is the number the sales assistant will recognise. Read the same carpet in square metres afterwards and it comes to 10.0335 m², which is the figure you want if a second shop quotes per metre.

2

A round rug, where the room tells you nothing

Situation: A round rug with a 2 m radius is priced at 21 per square metre. The room is irrelevant here: the shop charges for the rug's own surface.

Inputs

ShapeCircle
Radius2 m
Price21 USD/m221\ \mathrm{USD/m^2}

Result

AA==π×22\pi \times 2^{2}==12.5664 m212.5664\ \mathrm{m^2}
CC==12.5664×2112.5664 \times 21≈\approx263.89 USD263.89\ \mathrm{USD}

The full area is 12.5663706… m², and the cent figure comes from that full value. Rounding it to 12.57 first would have quoted 263.97 instead of 263.89.

In practice: Order the rug against the area, not the diameter. If the same rug is quoted per square foot elsewhere, 12.5664 m² is 135.263 ft², and that quote has to come to less than 263.89 in total to be the better buy.

3

A fixed budget, worked backwards

Situation: There is 500 to spend and the carpet costs 12 per square metre. The question is how much floor that buys.

Inputs

Budget500 USD
Price12 USD/m212\ \mathrm{USD/m^2}
Dimensionsleft empty

Result

AA==50012\frac{500}{12}==41.6667 m241.6667\ \mathrm{m^2}

The area box fills itself in and stays correct if you then change the price: at 15 per square metre the same 500 buys 33.3333 m². On the rectangle shape you can go one step further and close the room: with the budget still at 500, type a length of 6.4 m and the width follows as 6.51042 m.

In practice: 41.6667 m² is just under a 6.4 m by 6.5 m room, so the budget covers that floor but leaves nothing for underlay or fitting. Reduce the budget by those costs first, then read the area again — it is a single edit.

Getting a measurement you can order from

Compare quotes at one denominator

A quote of 1.10 per square foot and one of 11.84 per square metre are the same price. Put both into the price box in turn, switching only its denominator menu, and the totals for your own area become directly comparable — no arithmetic in the margin, no lost factor of ten.

A room is rarely one rectangle

Alcoves, chimney breasts and bay windows are separate rectangles. Measure each, add the areas, and type the total into Other shapes — or use the square footage calculator to total several identical rectangles from one width and length with its quantity box.

Regular polygons only

The pentagon and hexagon boxes assume equal sides and equal angles. For an octagon, an irregular hexagon or a shaped landing, measure the area and use Other shapes: the price step is identical whichever route you take, and the geometry you cannot type is the geometry you should not guess.

An area from a plan can be in any unit

A scale drawing may give the surface in square inches, square yards or square centimetres. Convert it first if the unit is not in the area menu — the area converter moves a surface between metric and imperial units before you price it.

A written-down area gives a rounded dimension

Working back from an area you rounded yourself returns the rounded answer: 12.5664 m² entered into a circle gives a radius of 2.0000023 m rather than exactly 2 m. Nothing is wrong — the page is being faithful to the number it was given. If the exact dimension matters, work forwards from it instead.

Still deciding between carpet and a hard floor?

Price the alternative on the same floor area before you commit, because the two are rarely as far apart as the showroom suggests: a carpet quote excludes underlay and fitting while a tile quote excludes adhesive and grout. The tile calculator works out the number of tiles and the material cost for the floor you just measured.

Questions

Q

Does the total include waste, underlay or fitting?

No. The page multiplies the surface you entered by the price you entered, and stops there. A carpet that has to be cut to the shape of a room needs an allowance for trimming, matching the pattern across a seam and the occasional damaged edge, and fitters plan that from the roll width and the room layout — which is exactly the information no area calculator has. Ask your fitter what percentage they want added, then multiply the area here by that figure.

Q

Can I start from an area instead of measuring the shape?

Yes, and it works for every shape. Type the known area into the carpet area box and the page derives the missing dimension — a radius, an axis, a side or a rectangle dimension. With Other shapes it does not even try, because there is no geometry to invert: there the area is simply the input. Change a dimension afterwards and the area follows the other way.

Q

Why did my area come out in the thousands of square metres?

Look at the unit beside each measurement before anything else. 3.6 m by 2.7 m is 9.72 m², but the same digits typed as 360 and 270 — centimetres in a box set to metres — give 97,200 m². The page flags any carpet over 1,000 m² in red and keeps the number on screen so you can see what happened. That threshold is a sanity check for one room, not a limit: a number above it still stands if the surface really is that large.

What this calculator does not price

  • It prices a surface, not a fitted carpet. Roll width, seam layout, pile direction, pattern repeat, underlay, gripper, door bars, delivery and labour are all outside the sum. On a piece with a pattern or a large room the fitted quantity can exceed the bare area by a noticeable margin, and only the fitter can tell you by how much.
  • Nothing is deducted for you. A hearth, a column, a fitted wardrobe or a chimney breast inside the rectangle is still counted, because the page multiplies the rectangle you described. Measure around those features and subtract them yourself, or split the floor into the pieces you can measure.
  • Converted money is indicative. Exchange rates come from a public rate feed that refreshes every 24 hours, while the card, bank or supplier that actually takes your payment applies its own spread, fee and rounding. For a purchase in a second currency, treat the converted total as a comparison figure and the supplier’s own currency as the price.
  • Unit prices are the only prices modelled. A minimum cut length, a cutting or binding charge, a stair runner priced by the step, or a clearance line sold as a single roll will not appear here. Compare the per-unit figures, then check the invoice arithmetic against the supplier’s own terms.
  • For a large or commercial order, confirm with the supplier. Once a project runs to several rooms, several rolls or a specification that has to be met, the quantity and the price belong on a supplier’s quote rather than on an estimate from this page.
Carpet Calculator - Carpet Area and Cost by Shape