# Power Consumption

**Formula:**`P = I`

^{2}R

## Introduction to Power Consumption Calculator

This calculator determines the power consumed in a circuit based on the current flowing through it and the resistance of the circuit. Here, ** P** represents the power consumed (in watts),

**is the current (in amperes), and**

*I***is the resistance (in ohms). This relation is a direct consequence of Ohm's law, where power is defined as the product of the square of the current and the resistance of the circuit.**

*R*## Parameter usage:

`current`

= current flowing through the circuit`resistance`

= resistance of the circuit

## Example valid values:

`current`

= 2 A`resistance`

= 5 Ω

## Output:

`power`

= power consumed in the circuit

## Data validation

Both current and resistance must be greater than zero, ensuring practical, positive values for calculations.

## Summary

This calculator is used for calculating the power consumption in electrical circuits, emphasizing the dependence on current and resistance. It is vital for electrical engineering and physics applications.

Tags: Physics, Electricity, Power, Circuit