Skip to content
Omnikalc

Garbage bag size calculator: which bag fits your trash can?

Measure your can, choose round or rectangular, and get the bag width and length, the volume in gallons, the standard bag size to buy and the yearly cost of bags.

Updated on
Your inputs
in

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

Value out of range

$

Value out of range

Results

Bag width (flat)

22.0 in

Bag length

34.0 in

Standard bag size to buy

16 gallons

Volume of the can
15.3 gallons
Yearly cost of bags
$41.60

Anyone who has chosen a bag that slips into the can, or one that tears at the first lift, knows that the gallon number on the box is not enough. This garbage bag size calculator takes the dimensions of your trash can and gives the bag width and length, the can volume in gallons, the standard size to buy and the yearly cost of bags.

How the calculation works

  • Flat width = half the circumference of a round can (π × diameter ÷ 2), or length + width for a rectangular can.
  • Bag length = can height + half the base (the radius of a round can, or half the shorter side of a rectangular one) + the overhang that folds over the rim.
  • Volume of the can = π × diameter² ÷ 4 × height for a round can, or length × width × height for a rectangular one, in cubic inches ÷ 231 to get US gallons.
  • Standard size = the smallest common bag size (4, 7, 10, 13, 16, 20, 30, 33, 39, 45, 55 or 64 gallons) that holds the can volume.
  • Yearly cost = bags per week × 52 × price per bag.

Example

A round can is 14 in across and 23 in tall, and you want 4 in of overhang. The bag should be about 22.0 in wide when flat and 34.0 in long. The can holds 15.3 gallons, so the nearest standard size is 16 gallons. At 4 bags a week and $0.20 a bag, the bags cost $41.60 a year.

Why it matters

Bags are a small, repeated expense, and the wrong size costs money in two ways: a bag that is too big wastes plastic, and one that is too small tears or slides down into the trash. Knowing the real dimensions makes it easy to compare packs from different brands, and the yearly cost shows what a small saving per bag adds up to over a year.

Good to know

The overhang is a matter of taste, and a couple of inches more or less changes the length a lot. Heavy, wet or sharp waste calls for a thicker bag, which is a question of mil thickness rather than size. Very tapered cans, tall kitchen cans with a pedal and cans with an inner liner ring do not match a straight cylinder exactly. Check the dimensions printed on the box, since sizes vary between brands, and rely on the can volume only as a guide to the bag capacity you need.

The volume calculator gives the capacity of a container from its dimensions, the leaf bag calculator sizes bags for yard waste and the compost bin calculator plans the bin for food scraps.

Frequently asked questions

How do I measure a trash can for a bag?

Measure the inside diameter (or length and width) and the inside height. Add a few inches of overhang so the bag folds over the rim and does not slip in when you drop trash into it.

Why is the bag width half the circumference?

A bag is sold flat, as a tube pressed together. Its width is half of the distance around the can, because opening it up gives a full circle of twice that width.

Is a bigger bag always better?

Not really. A bag that is too large wastes plastic and money, and an oversize bag makes the can hard to lift. A tight fit also holds more and tears less when you pull it out.

What is the difference between gallon sizes and bag dimensions?

The gallon number is a nominal capacity. Two 13-gallon bags can have slightly different widths and lengths, so use the dimensions to check the fit and the gallons only for a rough match.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.