The short answer for a very small, very busy animal
A dwarf hamster needs far more room than the tinted plastic boxes sold for them suggest. Plan on at least about 450 square inches of continuous floor space, and treat that as a floor, not a target — a longer, lower enclosure around the size of a 40-gallon breeder tank gives a Winter White, Campbell's or Roborovski hamster real room to sprint, turn and forage. Tubes and bolt-on pods do not count toward that footprint, because broken-up spaces cannot replace one open stretch your hamster can cross at full speed during the night.
Why floor space and bedding depth do the real work
In the wild, dwarf hamsters travel long distances after dark and spend much of their time underground. A good home copies both halves of that life. Above the bedding your hamster needs a solid-surface wheel around eight inches across — large enough that his back stays flat while he runs — plus a sand bath, a multi-chamber hide and scattered food to search for. Below the surface he needs bedding deep enough, ideally six inches or more at one end and packed down so tunnels hold, to dig a burrow system with separate sleeping and food-store corners.
Choosing and setting up the enclosure
A glass tank or a clear storage-bin enclosure with a well-fitted mesh lid suits dwarf hamsters well: it holds deep bedding without spills and removes the bar-chewing and bar-climbing risks of narrow cages. Check any barred cage carefully, because a small dwarf can squeeze through gaps that look harmless. Lay the enclosure out in zones — wheel and sand bath on the shallower end, deep digging at the other, water bottle where bedding cannot soak the spout — and keep the whole setup in a quiet room away from direct sun and daytime noise, since your hamster sleeps while the house is awake.
Measuring honestly before you buy
Measure the inside floor of any enclosure you are considering, not the flared outside of its base, and subtract nothing for the wheel and hide — those sit on top of the running space your hamster still crosses nightly. If the footprint falls short, a playpen session each evening is a kind addition but not a substitute, because dwarf hamsters are awake and travelling in the small hours when nobody is supervising a pen. A long, low enclosure also ages well with your hamster: as he grows older and less inclined to climb, nothing about his home needs rearranging, and every path between his nest, water and sand bath stays on one flat, familiar level.
Signs the space is too small, and sharing the details
Stereotyped bar biting, frantic climbing, pacing the same glass corner and sudden cage territorial behaviour are classic hints that a dwarf hamster feels cramped, and upgrading the footprint usually settles them better than adding toys to a small box. Most dwarf species also live best alone as adults, so one generous enclosure per hamster is the honest budget to plan for. When a rescue or a previous owner hands one over, Transferrable Profiles in KinsLe move his profile to you with his enclosure size, bedding depth, wheel and favourite foods already recorded, so his carefully sized home survives the change of owner.