Garbage Bag Size Calculator

Find the perfect garbage bag size for your trash can dimensions

Calculate the exact garbage bag size needed for your trash can. Enter your can dimensions to find the right bag capacity and get specific product recommendations.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Garbage bags work like fitted sheets for your trash can. The bag needs to wrap around the circumference, drop to the bottom, then have enough extra material to fold over the rim and tie shut. Most people guess at bag sizes, leading to bags that slip down inside the can or tear when lifted.

The calculation converts your round can into the flat dimensions a bag manufacturer uses. A 22-inch diameter becomes roughly 35 inches of bag width (half the circumference), while the height needs 2-4 extra inches for proper overhang. This explains why a 32-inch can needs a bag that measures 37 inches tall.

Standard bag sizes jump in increments because manufacturers optimize for the most common can dimensions. A 39-gallon bag fits cans holding 30-39 gallons of actual volume, providing the right balance of material efficiency and universal fit across different can brands.

When To Use This
Right tool, right situation

Use this calculator when buying bags for a new trash can, switching bag brands, or solving persistent fit problems with your current bags. It works for any cylindrical waste container from small bathroom cans to large outdoor bins.

The calculation assumes standard bag thickness and typical household waste density. For very heavy loads like construction debris, go up one bag size even if dimensions match perfectly. For very light loads like paper waste, the exact calculated size works fine.

Don't use this for non-cylindrical containers like rectangular office bins or irregularly shaped decorative cans. The geometry assumptions break down for containers where width and depth differ significantly, requiring visual fitting rather than mathematical calculation.

Common Mistakes
Why results sometimes look wrong

The biggest mistake is using can volume ratings instead of measuring actual dimensions. A can labeled as 13 gallons might have different height-to-width proportions than standard, requiring a different bag size than expected. Always measure your specific can rather than trusting manufacturer specifications.

Many people measure only height, then guess at diameter. This fails because diameter has a squared relationship to volume - a 2-inch diameter error creates much larger volume miscalculations than a 2-inch height error. Always measure both dimensions carefully.

Buying bags based on waste volume rather than can dimensions leads to constant frustration. Even if you only fill your can halfway, the bag still needs to fit the full can dimensions to stay in place and lift cleanly without tearing at the rim contact points.

The Math
Worked examples and deeper derivation

The core calculation treats your trash can as a cylinder and computes volume using π × radius² × height. Since bags are measured in gallons, the cubic inch result divides by 231 (cubic inches per gallon). This gives the actual volume your can holds.

Bag dimensions use different geometry. The width equals half the can circumference (π × diameter ÷ 2) because the bag drapes around the can rather than stretching tight. The height adds 4 inches to your can height for the fold-over and tying space that every bag needs.

Manufacturers group calculated volumes into standard sizes because producing bags for every possible can size would be impossibly expensive. The size brackets accommodate manufacturing tolerances and provide safety margins for different loading patterns and waste types.

Standard Kitchen Trash Can
32-inch tall can with 22-inch diameter opening
This produces a 39-gallon bag recommendation. The bag needs 37 x 34 inches to cover the can with proper overhang for tying. Most kitchen cans fall in the 30-39 gallon range.
Compact Office Wastebasket
18-inch tall can with 12-inch diameter
Results in an 8-gallon bag size with dimensions 19 x 22 inches. Small office cans often use standard paper sizes, so an 8-gallon bag provides the right fit without excess material.
Large Garage Workshop Can
42-inch tall can with 28-inch diameter opening
Requires a 55+ gallon bag at 44 x 46 inches. Industrial cans need heavy-duty bags, and this size typically comes with reinforced seams for heavier loads.
Expert Unlock
The thing most explanations skip

Professional waste management uses bag tensile strength ratings that homeowners never see. A properly fitted bag distributes weight evenly across the bottom and sides, but an oversized bag concentrates stress at the rim contact points where excess material bunches up. This is why restaurant kitchens replace bags more often than expected - the wrong size fails from stress concentration, not weight limits.

Which garbage bag thickness do I need?

What if my trash can is not perfectly round?
Measure the widest diameter of the opening and use that number. Oval or rectangular cans work fine with round bag calculations since the bag material stretches to fit the shape. The overhang will distribute evenly around non-circular openings.
Should I buy the exact gallon size or go bigger?
Match the recommended size exactly for the best fit. Going one size bigger creates excess material that bunches up, while going smaller risks tearing when you lift the bag. Standard sizes are designed with proper safety margins built in.
Why do some bags say 13 gallon but don't fit my 13 gallon can?
Bag manufacturers measure volume differently than trash can volume. Your can might hold 13 gallons of liquid, but the bag needs extra material for the overhang and shape accommodation. Always use bag dimensions rather than just the gallon rating.

Need something this doesn't cover?

Suggest a tool — we'll build it →