How do I know what size mattress to order?

We have designed our beds to take mattresses that are 10cm smaller than the external dimensions of the frame. For example:

You order a bed which is 180cm long and 80cm wide. You will need a mattress which is 170cm long and 70cm wide.