Choosing a garbage bag that fits means matching a flat, unfolded bag to the can it will line. The right width wraps around the can's base, and the right height covers the sides, folds under the bottom, and leaves enough extra at the rim to tie or hang. This guide walks through the same calculations the garbage bag size calculator uses, so you can size a round, square, or rectangular can by hand.
To size a garbage bag, match the bag's flat width and height to the can's dimensions. For a round can, bag width is diameter × π / 2 and bag height is can height plus overhang plus half the diameter. For square and rectangular cans, bag width is the two base dimensions added together, and bag height is can height plus overhang plus a quarter of the bag width. Allow 3 to 6 inches of overhang.
What formula gives the right garbage bag size?
The calculator uses two pairs of equations, one for square and rectangular cans and one for round cans. In each pair, the first equation sets the flat bag width and the second sets the flat bag height.
For square and rectangular trash cans:
For circle trash cans:
The symbols are:
| Symbol | Meaning |
|---|---|
| Suitable garbage bag width | |
| Suitable garbage bag height | |
| Length of the trash can | |
| Width of the trash can | |
| Diameter of the trash can | |
| Height of the trash can | |
| Overhanging bag height | |
| Math constant, approximately 3.1416 |
Adding or to the bag height — half of the can's width — makes sure the bag covers the bottom of the can adequately. Here is what the formulas give for the source's three can shapes:
| Can shape | Can dimensions | Overhang | Resulting bag width × height |
|---|---|---|---|
| Circle | 22 in diameter, 30 in high | 4 in | about 35 in × 45 in |
| Square | 20 in × 20 in base, 36 in high | 6 in | 40 in × 52 in |
| Rectangle | 8 in × 12 in base, 22 in high | 4 in | 20 in × 31 in |
How do you use the garbage bag size calculator?
The calculator asks for the can's shape and dimensions, then returns the two bag measurements:
- Shape of your trash can. Choose Circle, Square, or Rectangle.
- Overhang or tie. This is the extra bag height hanging over the rim. Ideally 3 to 6 in, or 7 to 15 cm, depending on the can's size; the source example uses 4 in.
- Trash can size. Enter Width (square and rectangle only), Length (rectangle only), Diameter (circle only), and Height.
- Suitable garbage bag size. Read the resulting bag height and bag width.
Worked example: a 22-inch round trash can
Take a circular can with a 22 in diameter, 30 in high, with a 4 in overhang. Using the circle equations:
A bag about 35 in wide and 45 in high fits this can, matching the calculator's result.
Worked example: a 20-inch square kitchen can
Now take a square kitchen can with a 20 in by 20 in base, 36 in high, and a 6 in overhang. Using the square and rectangle equations:
The suitable bag size is 40 in × 52 in in width and height respectively.
Frequently Asked Questions
What garbage bag size do I need for an 8 in × 12 in × 22 in bin?
You need a 20 in × 31 in bag. Add length and width for the bag width (8 + 12 = 20), then add the can height, a quarter of the bag width, and 4 in of overhang (22 + 5 + 4 = 31).
Why add a quarter of the bag width to the height?
The extra (or for a round can) is half of the can's width. It gives the bag enough material to reach down, cover the bottom, and close properly once it is inside the can.
What overhang or tie length should I leave?
The source recommends 3 to 6 in, or 7 to 15 cm, depending on the can's size. This is the portion of bag left above the rim so it can be gathered and tied.
Which can shapes does the calculator support?
Three shapes are available: Circle, Square, and Rectangle. The shape you choose decides whether the calculator asks for a diameter or for width and length, and which pair of equations it applies.
References
- Omni's Garbage Bag Size Calculator reference content: inputs, equations, worked examples and FAQs.
- Standard measurement and unit conversion references for inches, centimeters and the value of pi.
- General reference texts on practical arithmetic and geometry for flat bag dimensions.