Why crate size decides the price of the flight
Airlines bill live cargo on the kennel's dimensional weight, not the dog's body weight. The formula is length × width × height divided by a carrier volumetric divisor, and the higher of that figure and the actual combined weight is what you pay for. A 25 lb beagle in a size-400 kennel can cost more to fly than a 45 lb spaniel correctly fitted into a 300.
That is why we measure before we quote. Going one size up "for comfort" is the single most expensive mistake owners make, and it is also less safe: an oversized kennel lets the dog slide during turbulence instead of bracing against the walls.