The formula P = I^2R relates power (P), current (I), and resistance (R), indicating the power dissipated in a resistor. On the other hand, the formula P = V^2/R relates power (P), voltage (V), and resistance (R), representing the power dissipated across a resistor. The former formula deals with power in terms of current, while the latter formula expresses power in terms of voltage.