Multiply the total watts you want to power by a duty factor — 1.25 for light loads or 1.5 for heavy motor and A/C loads — and round up to the nearest portable inverter-generator size. If you need 2,500 W for an RV with lighter loads, 2,500 × 1.25 = 3,125 W of surge headroom, which rounds up to a 3,500-watt portable inverter generator. For a heavier 2,000 W campsite with an air conditioner, 2,000 × 1.5 = 3,000 W → a 3,000 W unit.
Portable generators live and die by their surge capacity. RV air conditioners, small pumps, and power tools all draw a startup spike far above their running watts, and a portable unit has less thermal mass than a big standby generator, so leaving surge headroom matters even more. The duty factor bakes that surge into the recommendation, and rounding up to a real product size (2,000, 2,200, 3,000, 3,500, or 4,000 W) means the number maps to a generator you can actually buy.