5 hp air compressor wiring
Do they provide the FLA?
Air compressor vendors lie about horse power!!!
Going by code we would use the fla book value 5hp or 28 amps plus 125% because it is a motor load or 35 amps requiring a 35 but probably a 40 amp breaker and #8 wire.
In reality your fla is probably going to be closer to 13 amps ( 2.98kw /240v) and that will be fine on a 12 awg circuit with a 20 amp circuit breaker.
Why do I say air compressor (and vacuum cleaner) companies lie?
With locked rotor no work is being done and the definition of 1 horse power is the work of 746w. They put the LR value and at locked rotor no work is done.