4 -Step Heavy Duty Ladder

Specs say 38" tall, is that the measurement to the top the 4th (top stair)? Or to the very top of the ladder? Also, it says width of 18.5"…is that the stair width or the total ladder (including rails)? Your soonest possible answer will be most appreciated.

While in answer mode, please also mention the depth. That is, the space required front to back if the ladder is left open in a room. Soon would be good, I might buy one.