Start with the wall length, the walkway width and every door that swings near the spot. A custom hallway table needs clear floor on both sides, so people pass without turning sideways. Most homeowners in Mount Holly, NC find that the usable length is shorter than the wall, because trim, outlets and a door swing take up part of it.
Measure the width at the height where the top will sit, not only at the floor. Note whether a baseboard, a radiator or a thermostat sits in the way. A narrow console table custom size works best when we know these limits before the first drawing. Mount Holly entries often have a door close to one end, so note that gap too.