Guides

How to Calculate Garbage Bag Size for Your Trash Can

Calculate garbage bag size for round, square, or rectangular cans: width and height formulas, overhang guidance, calculator steps, and two worked examples.

Miryori Editorial Team4 min read
Try the Garbage Bag Size Calculator

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:

Bag width Gw=Tl+TwBag height Gh=Th+Go+Gw4\text{Bag width } G_w = T_l + T_w \qquad \text{Bag height } G_h = T_h + G_o + \frac{G_w}{4}

For circle trash cans:

Bag width Gw=Td×π2Bag height Gh=Th+Go+Td2\text{Bag width } G_w = \frac{T_d \times \pi}{2} \qquad \text{Bag height } G_h = T_h + G_o + \frac{T_d}{2}

The symbols are:

Symbol Meaning
GwG_w Suitable garbage bag width
GhG_h Suitable garbage bag height
TlT_l Length of the trash can
TwT_w Width of the trash can
TdT_d Diameter of the trash can
ThT_h Height of the trash can
GoG_o Overhanging bag height
π\pi Math constant, approximately 3.1416

Adding Gw/4G_w/4 or Td/2T_d/2 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:

  1. Shape of your trash can. Choose Circle, Square, or Rectangle.
  2. 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.
  3. Trash can size. Enter Width (square and rectangle only), Length (rectangle only), Diameter (circle only), and Height.
  4. 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:

Gw=22×π2=34.56Gh=30+4+222=45G_w = \frac{22 \times \pi}{2} = 34.56 \qquad G_h = 30 + 4 + \frac{22}{2} = 45

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:

Gw=20+20=40Gh=36+6+404=52G_w = 20 + 20 = 40 \qquad G_h = 36 + 6 + \frac{40}{4} = 52

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 Gw/4G_w/4 (or Td/2T_d/2 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.
Calculator

Garbage Bag Size Calculator

Garbage Bag Size: using our garbage bag size calculator, you can find the right bag size to place in your trash can. Free, fast and private.

Try the Garbage Bag Size Calculator