The formula for calculating power dissipation in an electronic device is P=VI, where P is power, V is voltage, and I is current. It is an important formula as it allows engineers to determine the amount of heat generated by electronic devices, which can affect their reliability and lifespan.