I am very new to blender and working on my first model: a bed. I'm trying to model it with accurate irl measurements but I'm having a really hard time.

I'm using Blender 2.93a and have a scaled cube for the mattress and one for the base of the bed, the edge length for the height of the mattress is 30cm and while the height of the base is visibly around twice the mattress' height, its measurements are still the same or less.

[![screenshot of a corner of the bed where one height edge says 30cm and another that is clearly 2 times the size says 30.2cm][1]][1]


[![screenshot of a corner of the bed where one height edge says 30cm and another that is clearly 2 times the size says 28.4cm][2]][2]

I scaled the larger edge below 30cm to be sure and it's still longer than the 30cm edge. 

  [1]: https://i.sstatic.net/BwnwW.png
  [2]: https://i.sstatic.net/tvSCW.png

**What could be causing these inconsistencies and how do I fix it?
Also can I input exactly what dimensions I want for edges or for a whole cuboid?**