Wallpaper is hung in vertical strips called drops, each cut to the height of the wall plus trimming allowance. A standard roll is 10.05 metres long and 53 centimetres wide, so the room question is really two questions: how many drops does the wall length demand, and how many drops can one roll surrender. Divide the total wall length by the roll width and round up for the strips; divide the roll length by your drop length and round down for the yield per roll; divide strips by yield and round up for the purchase. Every rounding in that chain goes against you, which is why wallpaper estimates feel pessimistic and are usually right.
A patterned paper must match at every seam, so each drop is cut to a whole number of pattern repeats. A drop for a 2.4 metre wall with a 53 centimetre repeat is not 2.5 metres with trimming; it is five full repeats, 2.65 metres, before trimming. That quiet rounding shrinks a roll from four drops to three, and a room from five rolls to seven, without a single mistake being made. Half drop and offset matches waste more. When you choose a big repeat for a low room, you are choosing the waste with it, so check the repeat on the label in the shop and run the numbers there, not at the till with a queue behind you.
Deduct doors and windows from the wall length only when they truly break the run of drops; small windows often save nothing because the paper above and below them still consumes strips. Buy every roll with the same batch and shade number, printed on the label, and check them all before the first cut, because a shade shift shows cruelly at a corner. Order one roll beyond the calculation for a patterned paper; it covers the mis cut drop, the torn corner and the repair in three years when the pattern is discontinued. Hang the longest, plainest wall first while your technique settles, keep the paste consistency honest, and book the seams gently rather than rolling the pattern flat. Photograph the roll label before the paper is opened and keep it with the house papers; the next owner, or you in five years with a damaged wall, will bless that small act of administration.