A cushion cover can have a border without a larger insert

On a knife-edge cover the front and back meet in a seam at the perimeter. A flange is a band of fabric beyond the seam that encloses the insert. The overall width across a flanged cushion can therefore exceed the size of its filling.
Measure between seams
Spread the empty cover on a table and find the line that actually stops the insert. Measure across that pocket both ways. Record the flange width separately. If a listing gives a single dimension, ask whether it includes the flange before buying an insert for a seasonal cover.

Order the pocket that holds the insert
Take a cover measuring 24 inches from one bound outside edge to the other. An uninterrupted row of stitching runs 2 inches in from each edge. If the seams enclose the insert on all four sides, the pocket is about 20 inches across. A nominal 24-inch insert selected from the outer dimension is a different proposition from a 20-inch insert selected from the pocket. Fill density and the cover maker's recommended insert still matter after the measurements agree.
Smooth the empty cover on a table without stretching it. Slip a hand inside and feel where each edge of the insert would stop. Topstitching can look like a flange without closing off the pocket, especially on a cover with a decorative border print. Measure in both directions and note any rounded or tapered corners that make the useful area smaller.

Check the border in its actual position
On a deep sofa the lower flange may disappear into the seat crease and the side flange may fold against the arm. Put a strip of paper the width of the proposed flange around an existing cushion and place it on the seat. If only the upper strip remains visible, decide whether paying for a four-sided decorative band gives you the effect you wanted. On an upright bed arrangement all four edges might remain visible.
Ask for the flat outer size, the pocket seam-to-seam, the closure position and the recommended insert for that exact cover. Keep the insert's own size and firmness on the same note. Those details make it possible to buy a replacement cover without having to take the whole cushion to the shop.