With reference to @Thomas ’s reply, have a look at this thread
in particular posts 6 & 23 where you will find info and links to spreadsheets perfect for informing room design with plain rectangular rooms.
Of course, rectangular is not ideal, and if building from scratch other designs may be much better. I always wondered about pentagonal with sloping ceiling, but more info is available on what is known as the golden trapagon (Google…).