How the sum works
First, the area: length times width in metres gives square metres (m²). Then work out how much floor one tile covers, including its grout joint. A 600 × 300 mm tile with a 3 mm joint covers 0.603 × 0.303 = about 0.183 m², so you need roughly 5.5 tiles for every square metre.
Next, the waste. Every cut at a wall, door or corner turns part of a tile into offcut, and a few break along the way. A straight lay usually needs about 10% extra. Diagonal and herringbone patterns cut far more tiles, so allow about 15%. Large format tiles and rooms with lots of corners can need more again.
Always buy every box from the same batch (it's printed on the box), because colour and size can vary a little between batches. Keep a few spare tiles for future repairs.