Enter the length and width of the area and the side of one square mat, and the calculator returns the number of interlocking mats, the number of border strips and the area the mats cover. It suits foam or rubber mats for a gym, a play area or a workshop floor.
Interlocking Floor Mat Calculator
Number of interlocking foam or rubber gym floor mats and border pieces for a room.
How the mat count is calculated
Mats along the length = round up (L ÷ mat size)
Mats across the width = round up (W ÷ mat size)
Mats = mats along × mats across
Border strips = 2 × (mats along + mats across)
Area covered = mats × mat size²
Where:
- L and W are the length and width of the area to cover.
- Mat size is the side of one square mat, for example 2 ft, which is 24 in.
- Round up means a partial mat counts as a whole one, because you cannot buy part of a mat.
Worked examples
Example 1: the starting values
A 12 by 10 ft area with 2 ft mats:
Mats along = 12 ÷ 2 = 6
Mats across = 10 ÷ 2 = 5
Mats = 6 × 5 = 30
Border strips = 2 × (6 + 5) = 22
Area covered = 30 × 4 = 120 ft²
The area divides exactly, so the covered area equals the room area of 120 ft².
Example 2: a room that does not divide evenly
An 11 by 9 ft area with 2 ft mats:
Mats along = 11 ÷ 2 = 5.5, so 6
Mats across = 9 ÷ 2 = 4.5, so 5
Mats = 6 × 5 = 30
Border strips = 2 × (6 + 5) = 22
Area covered = 30 × 4 = 120 ft²
The room is 99 ft², but 30 mats cover 120 ft². The extra 21 ft² is the edge row and column, where mats are cut to fit.
Example 3: larger mats
A 15 by 12 ft area with 3 ft mats:
Mats along = 15 ÷ 3 = 5
Mats across = 12 ÷ 3 = 4
Mats = 5 × 4 = 20
Border strips = 2 × (5 + 4) = 18
Area covered = 20 × 9 = 180 ft²
Reading the three results
Mats
This is the count of whole mats needed to cover the area. Mats are cut at the edge when the area is not an exact multiple of the mat size, so some mats will be trimmed.
Border strips
The tool counts one strip per mat edge along the four sides, which is 2 × (mats along + mats across). Many mat sets supply edge pieces that give a finished, sloped edge. Check whether your product includes them and whether corner pieces are needed, since the tool does not count corners separately.
Area covered
This is the area of all the mats laid edge to edge. It is at least as large as the room, and the difference shows how much material is trimmed or left over.
Choosing a mat size
Compare mat sizes on the same room. In example 2, 2 ft mats need 30 mats. With 3 ft mats the same 11 by 9 ft area needs 4 × 3 = 12 mats covering 108 ft², which is closer to the room area of 99 ft² and leaves less to trim. The best size depends on the product you buy, so run the tool for each size you can get.
Cutting at the edge
An offcut from the edge can sometimes finish the opposite side, which saves a mat. The tool does not assume offcuts are reused, so treat its count as a safe figure and allow for a spare mat for repairs.
Before you buy
- Measure the area at more than one point, since walls and floors are rarely square.
- Check the exact size of one mat in your product data, including whether it is sold in packs.
- Check the thickness and whether the product needs an expansion gap at the walls.
For other floor coverings, use a floor tile calculator or a flooring cost calculator.
Frequently asked questions
How many interlocking floor mats do I need?
Divide the length and the width by the mat size, round each up, and multiply. A 12 by 10 ft area with 2 ft mats needs 6 × 5 = 30 mats.
Why does the covered area exceed the room area?
Because partial mats are counted as whole mats. An 11 by 9 ft room needs 30 two-foot mats, which cover 120 ft², against a room area of 99 ft².
What are border strips?
They are edge pieces that finish the perimeter of the mat area. The tool counts one per mat edge along the four sides.
Does the calculator include corner pieces?
No. It counts border strips along the edges only. Check your product for corner pieces.
Can I use mats that are not square?
The tool assumes square mats. For rectangular mats, work out the count in each direction yourself with the same method.
Should I buy extra mats?
A spare mat is useful for repairs and for mistakes in cutting. The tool rounds up to whole mats but does not add a spare.




