FLA or MCA of 18 amps?Excuse my ignorance but I just did a unit with the FLA of 18 amps and was instructed to upsize the wire to #10 because 18 amps is more than 80% of the 20 amp rating of 12-2. I'm not sure where the idea of 80% applies but I'm also seeing it being used on wire sizing for electric wall heaters.
MCA is the number you need to pay attention to. And it already has 125% of largest load factored into it so you don't need to increase anything again. If MCA is under 20 then 12 AWG conductor is sufficient. If MCA is 25 or less you can still use 12 AWG conductor if it is allowed to be used at the 75 deg C ampacity (primarily if it is not NM cable it can be 12 AWG).I just upsized the wire per PM's instruction and the label indicated FLA 18A, LRA Don't remember this number off hand and Min OCPD which was 30A this was on a 208V 1Phase condenser. I'll see if I can get a picture of the nameplate...
The OP did say NM cable, if you used MC cable you could use #14 conductors.