The basic laws of electrical circuits focus on a handful of basic circuit parameters—voltage, current, power, and resistance—and define how they are interrelated. These laws were discovered by Georg Ohm and Gustav Kirchhoff, and are therefore known as Ohm's law and Kirchhoff's laws.

Understanding these basic rules is critical for anyone designing a circuit, electronics, or an electrical system.

## Ohm's Law

Ohm's law is the relationship between voltage, current, and resistance in a circuit and it is the most common (and most simple) formula used in electronics. Ohm's law can be written in a number of ways, all of which are commonly used.

- The current flowing through a resistance is equal to the voltage across the resistance divided by the resistance (I=V/R).
- Voltage is equal to the current flowing through a resistor times its resistance (V=IR)
- Resistance is equal to the voltage across a resistor divided by the current flowing through it (R=V/I).

Ohm's law is also useful in determining the amount of power a circuit uses because the power draw of a circuit is equal to the current flowing through it, multiplied by the voltage (P=IV). Ohm's law determines the power draw of a circuit as long as two of variables in Ohm's law are known for the circuit.

One of the most basic application of Ohm's law and the power relationship is to determine how much power is dissipated as heat in a component. Knowing this is critical so that the right size component with the proper power rating is selected for the application.

For example, when you select a 50 ohm surface mount resistor that will see 5 volts during normal operation, it must dissipate half a watt when it incurs 5 volts. The formula, with progressive substitutions, is:

**P=IV => P=(V/R)*V=> P=(5volts^2)/50ohms) =.5 watts**

Therefore, you require a resistor with an even greater power rating than 0.5 watts. Knowing the power usage of the components in a system lets you know if additional thermal problems or cooling may be required and dictates the size of the power supply for the system.

## Kirchhoff's Circuit Laws

Kirchhoff's circuit laws tie Ohm's law together into a complete system. Kirchhoff's Current Law follows the principle of conservation of energy and states that the total sum of all current flowing into a node (or point) on a circuit is equal to the sum of the current flowing out of the node.

A simple example of Kirchhoff's Current Law is a power supply and resistive circuit with several resistors in parallel. One of the nodes of the circuit is where all of the resistors connect to the power supply. At this node, the power supply is generating current into the node and the current that is supplied is divided up among the resistors and flows out of that node and into the resistors.

Kirchhoff's Voltage Law also follows the principle of conservation of energy and states that the sum of all of the voltages in a complete loop of a circuit must equal zero. Extending the previous example of a power supply with several resistors in parallel between the power supply and ground, each individual loop of the power supply, a resistor, and ground sees the same voltage across the resistor since there is only one resistive element. If a loop had a set of resistors in series the voltage across each resistor would be divided according to the Ohms law relationship.