Circuit Builder Back
Electric Circuits

Circuit Builder — Ohm's Law Simulator

Visualize series, parallel, and mixed circuits with electron animation. Real-time calculation of voltage, current, resistance, and power using Ohm's and Kirchhoff's laws.

Circuit Type
Parameters
KVL (Voltage Law)
KCL (Current Law)
Results
R total (Ω)
I total (A)
Source V
P total (W)
ElementR (Ω)V drop (V)Current (A)Power (W)
Circuit

Electrons (speed proportional to current) R₁ R₂ R₃

Theory & Key Formulas

$$V = I \times R, \quad P = \frac{V^2}{R}$$

Series: $R_t = R_1 + R_2 + R_3$
Parallel: $\frac{1}{R_t}= \frac{1}{R_1}+ \frac{1}{R_2}+ \frac{1}{R_3}$
RC time constant: $\tau = R \times C$

What is Ohm's Law & Circuit Analysis?

🙋
What exactly is Ohm's Law? I see the equation V = I × R, but what's happening physically in the wires?
🎓
Basically, it's the relationship between the push (Voltage), the flow (Current), and the restriction (Resistance) in a circuit. Think of it like water in a pipe: voltage is the water pressure, current is the flow rate, and resistance is how narrow the pipe is. In this simulator, try moving the "Voltage V" slider up. You'll instantly see the calculated current increase, because for a fixed resistor, more push means more flow.
🙋
Wait, really? So if I add more resistors in the simulator, that increases the total restriction. But what's the difference between putting them in series (one after the other) versus in parallel (side-by-side)?
🎓
Great question! In series, the current has to fight through every resistor in a line, so the total resistance just adds up: $R_t = R_1 + R_2 + R_3$. In parallel, the current has multiple paths to split into, which actually makes it easier for the total current to flow, so the total resistance decreases. You can test this: set R₁, R₂, and R₃ to the same value, say 100 Ω. In series, total R is 300 Ω. Switch the circuit to parallel in the simulator and watch the total resistance drop dramatically.
🙋
That makes sense! And the capacitor parameter "C" — what's its role? It doesn't seem to follow Ohm's Law directly.
🎓
Exactly, a capacitor stores charge instead of resisting current like a resistor. Its key property is that it resists a change in voltage. When you first connect power, current rushes in to charge it up, then slows to a stop. The speed of that charging is set by the RC time constant, $\tau = R \times C$. In the simulator, add a capacitor to the circuit and hit "Simulate Transient." You'll see the current spike and then decay as the capacitor charges—a dynamic behavior Ohm's Law alone doesn't describe!

Physical Model & Key Equations

The fundamental law governing resistors, defining the linear relationship between voltage, current, and resistance.

$$V = I \times R$$

V = Voltage (Volts, V) — The electrical "push" or potential difference.
I = Current (Amperes, A) — The rate of flow of electric charge.
R = Resistance (Ohms, Ω) — The opposition to current flow.

For circuits with multiple resistors, the total resistance depends on their configuration. Power dissipation (heat) in a resistor is also critical.

$$ \text{Series: }R_t = \sum R_i \quad \text{Parallel: }\frac{1}{R_t}= \sum \frac{1}{R_i}\quad \text{Power: }P = I^2 R = \frac{V^2}{R} $$

$R_t$ = Total equivalent resistance.
P = Power (Watts, W) — The rate of energy conversion to heat.
The power equations show that for a fixed resistance, doubling the voltage quadruples the power (and heat) dissipated.

Frequently Asked Questions

If the power supply voltage is fixed and the total combined resistance of the circuit does not change, the current will not change according to Ohm's law (V=IR). In a series circuit, changing the value of one resistor will change the total resistance and thus the current, but in a parallel circuit, it may affect other branches.
The speed of the animation visually represents the magnitude of the current. The larger the current, the faster the electrons move; the smaller the current, the slower they move. However, the actual drift velocity of electrons is very slow, so this is a model to aid understanding.
Kirchhoff's voltage law always holds for a closed loop. Possible causes include incorrect setting of resistor polarity (direction of voltage drop) or neglecting the internal resistance of the power supply. Please check the sign (+/-) of the voltage across each component and verify that the circuit is properly closed.
A negative power consumption means that the component is supplying power rather than consuming it. This is correct for active components like batteries and power supplies, but for resistors, it should always be positive (consumption). If a resistor shows a negative value, check whether the direction of the current and the polarity of the voltage are reversed.

Real-World Applications

Electronics Design: Every circuit board uses these principles. Engineers calculate resistor values using Ohm's Law to ensure components like LEDs get the correct current (e.g., a 2V LED with a 5V supply needs a series resistor to limit current and prevent burnout).

Household Wiring & Safety: Home circuits are designed with specific voltage (120V/240V) and wire resistance to limit current. Fuses and circuit breakers are rated using $P = I^2R$ heating calculations—they trip when current (and thus heat) exceeds a safe level for the wiring.

Sensor Interfaces: Many sensors (like temperature-sensitive thermistors) change resistance. By placing them in a voltage divider circuit (two resistors in series), Ohm's Law lets you convert the measured voltage into a precise resistance value, which can then be translated into a temperature reading.

Power Supply Regulation: Voltage regulators and power adapters use resistor networks to sample the output voltage. If it drifts, a feedback circuit adjusts to maintain a steady voltage, ensuring your laptop or phone charges correctly and safely.

Common Misconceptions and Points to Note

Here are a few points beginners often stumble on when starting with the simulator. First is the image that "current flows from high voltage to low voltage". This is mostly correct, but the story changes with AC circuits or when capacitors and coils are involved. Try lowering the power supply voltage to zero in this tool's RC circuit mode. If the capacitor is charged, current will flow from the capacitor towards the resistor (discharge), right? The direction of current is determined by the potential difference, so it doesn't always flow only from the power supply's positive terminal.

The second point is the realism of parameter settings. For example, setting the power supply voltage to 100V and the resistance to 0.1Ω results in a calculated current of 1000A according to Ohm's law—an outrageous value. While the simulation can calculate it, in reality, neither batteries nor wires could handle such a large current and would risk catching fire. In practice, you should always be mindful of the ratings (allowable power, allowable current) of the components you use. For instance, connecting 5V across a 100Ω, 1/4W resistor gives a current of 0.05A and a power consumption of $P=I^2R = 0.05^2 \times 100 = 0.25W$, which is barely safe. But if you change the resistance to 10Ω, the power consumption becomes 2.5W and it will smoke in an instant.

The third point is understanding that "ground (GND) is just a reference point". In the simulator, think about what point the voltmeter is using as a reference. Often, voltage is the potential difference between two points. For example, in a voltage divider circuit, even if the output point voltage is displayed as "2.5V", that value is relative to GND (0V). If you measure using a different point as a reference instead of GND, the displayed voltage value would be completely different. When drawing a schematic, deciding where to place GND is an important design choice to simplify calculations.

How to Use

  1. Set voltage using the vSlider (0–24V range typical for lab circuits)
  2. Adjust series resistors r1, r2, r3 individually (0–1000Ω each)
  3. Monitor R total (sum of series resistances), I total (V÷R), and P total (V×I in watts)
  4. Modify any parameter to observe real-time recalculation of circuit behavior

Worked Example

Industrial control circuit with 12V DC supply and three 220Ω resistive heating elements in series. R total = 660Ω; I total = 12÷660 = 18.2mA; P total = 12×0.0182 = 0.218W. If one element fails (open circuit), current drops to zero and power dissipation stops—critical for thermal management in embedded systems.

Practical Notes