Match a trash bag to the can’s opening and the distance it must cover, including the bottom and the material needed above the rim. The gallon label is a starting point, not a measurement of the opening. Two containers can hold the same volume while being different shapes, so do not make gallons your only fit check.

If your can has a manufacturer liner code, look that up first. For example, simplehuman’s liner page directs owners to a liner-ID tag beneath the can lid. That is a fit system for the company’s own cans, not a universal code shared by other brands.

Why a 13-gallon bag can miss a 13-gallon can

If a bag fits around the rim but hangs above the bottom, compare listed lengths and closure styles before buying a larger capacity.

Hefty’s sizing guide lists its 13-gallon Strong kitchen bag at 23¾ × 27 inches and its 13-gallon Ultra Strong at 23¾ × 24⅞ inches. The listed widths match and the listed lengths differ by 2⅛ inches. This is a comparison of two manufacturer listings. Check the exact package you are buying, since construction and closure can change how much of the listed length you can use.

Record the can, not just its advertised capacity

For a can with a removable inner bucket, measure the part the bag actually lines. Note any rim or retaining ring that the bag must go over.

Write downWhy you need it
Can model or liner code, if presentLets you check a documented match before estimating
Round opening diameter, or rectangular opening width and depthDescribes the shape the bag opening must pass around
Container heightEstablishes the vertical distance, not the whole required bag length
How the top is heldFold-over rim, retaining ring, or model-specific fitting
Closure neededA liner folded over the rim and a bag tied closed need not use the same allowance
Candidate bag dimensions and constructionFlat and gusseted measurements are not directly interchangeable

Aluf’s bag-size tool asks for different dimensions for rectangular and round containers and distinguishes overhang from tie-off uses. Do not combine a width from one guide with a length allowance from a different bag style and call the result a certified fit.

Read bag dimensions in the right order

For a flat bag, a specification such as 24 × 30 inches normally describes its width and length, not a 24-inch-wide open container. A-Pac’s measurement guide lists flat bags as width × length and shows gusseted bags with a separate gusset dimension. Check the candidate supplier’s convention rather than treating every three-number listing as the same construction.

If an old bag fits well, save its package or product identifier. A new, unused one can also be a useful comparison: lay it flat without stretching it and note its dimensions and closure style. The known fit is a practical reference, not evidence that another film, drawstring, or seam will perform identically.

Screen a flat bag for a rectangular rim

Measure around the actual rim the bag has to pass over, including a projecting lip if it is in the bag’s path. Use a flexible tape for rounded corners. For a plain flat bag with an unrestricted mouth, half that perimeter is a starting point for laid-flat width because the opening has two edges of that width. International Plastics’ liner guide uses that width calculation and suggests adding 1–2 inches of flat width for a looser fit in its method.

For an example with square corners, a 14 × 11-inch outer rim has a perimeter of 50 inches. A plain flat bag listed at 24 inches wide has about 48 inches around its opening without stretching, so it falls short on this screen. A 26-inch flat bag gives about 52 inches around the mouth. Check that candidate for depth and closure before buying in bulk. The example uses hypothetical flat bags.

For a gusset, constricted drawstring opening, or retaining system, use the supplier’s opened-mouth dimensions or fitting guidance. If those are unavailable, try an empty sample instead of treating the flat-width calculation as a fit guarantee. Check the length separately by seating the sample on the bottom and operating the ring or lid. Use the round-can example below only for its stated shape and liner method.

A round-can sizing example

International Plastics gives these starting calculations in its can-liner guide. Divide the circumference by two for flat width. For length, add half the diameter plus four inches to the height for overhang, or the full diameter plus four inches for tie-off.

Apply that particular guide to a hypothetical round can 12 inches in diameter and 20 inches high:

CalculationResult
Circumference: π × 12About 37.7 inches
Flat width: 37.7 ÷ 2About 18.85 inches
Overhang length: 20 + 6 + 430 inches
Tie-off length: 20 + 12 + 436 inches

These are calculated estimates using an identified supplier’s method, not a tested bag recommendation. They show why a bag long enough to fold over a rim may still lack the tie-off space you wanted. Do not round the estimated width down, and do not assume a nominal size equal to the calculation includes spare fitting room or manufacturing tolerances.

For an oval, tapered, unusually wide-rimmed, or proprietary can, use its maker’s fit information or the bag supplier’s method for that shape. Do not quietly substitute a round diameter just to make the example’s formula work.

Check fit before buying a case

Try a small package or a supplier sample if available. This is a simple dimensional check with an empty bag, not a strength or leak test:

  1. Fit the bag over the intended rim or retaining system without stretching it as a workaround.
  2. Check that it reaches the bottom while enough material remains for the intended top arrangement.
  3. Confirm that the lid and retaining parts still operate normally.
  4. Check that your intended closure is possible without pulling the bag short of the bottom.
What you observeWhat to investigate
Opening will not pass the rimWidth/opening compatibility or wrong bag construction
Top pulls down before the bag reaches the bottomInsufficient usable length or an incorrect bottom/overhang allowance
Excess film prevents the lid or ring from seatingWrong fit or closure arrangement; check the can’s fitting instructions
Empty fit is good, but the bag tears during useA separate material, seam, contents, or load problem—not proof that a different gallon label solves it

Do not fill a badly fitted bag to force it into place. Size, strength, and closure are separate purchasing questions; this guide addresses the first and helps you identify when the problem belongs to another one.

Keep a final note with the can model, bag model, dimensions, and whether the fit was actually tried. That makes the next reorder a specific repeat purchase instead of another guess based on “kitchen size.”