How do carpenters use math?

Carpenters uses math through measuring woods and other stuff. they ussually uses it on building a house, buildings etc.