Calculate ceramic tile dosage, 4 meters, know room floor area, wall area how to calculate? What formula is the most standard?

Calculate ceramic tile dosage, 4 meters, know room floor area, wall area how to calculate? What formula is the most standard?

(perimeter x height - door and window area) * 1.08, about 8% loss
About 5% loss on the ground