Every real-world power source—from a CR2032 coin cell to an ESP32 GPIO pin—has internal resistance that causes its output voltage to sag under load. Thevenin's theorem allows us to model any complex linear network as a single ideal voltage source in series with a single resistor. Knowing how to calculate Thevenin voltage (Vth) is the difference between a microcontroller that brownouts under load and one that runs flawlessly. Below is the exact bench-ready formula, the assumptions that govern it, and the step-by-step math to prove it.

The Core Formula and Symbol Definitions

While textbooks often define Thevenin voltage simply as the open-circuit voltage (Voc), on the workbench you rarely have the luxury of an open circuit. You usually have a loaded circuit and need to back-calculate the hidden ideal source voltage. The practical, bench-derived formula for calculating Vth from loaded measurements is:

Vth = VL + (IL × Rth)

Table 1: Formula Symbol Definitions and Units
Symbol Definition Standard Unit Bench Measurement Method
Vth Thevenin Voltage (ideal open-circuit source voltage) Volts (V) Calculated, or measured with zero load attached
VL Loaded Voltage (voltage across the terminals under load) Volts (V) DMM in parallel with the load
IL Load Current (current flowing through the load) Amperes (A) DMM in series with the load, or calculated via Ohm's Law
Rth Thevenin Resistance (equivalent internal source resistance) Ohms (Ω) Calculated via voltage drop, or measured with sources zeroed

This formula is a direct algebraic rearrangement of Kirchhoff’s Voltage Law (KVL) applied to the Thevenin equivalent loop. It states that the ideal source voltage (Vth) must equal the voltage actually delivered to the load (VL) plus the voltage lost internally across the source's own resistance (IL × Rth). For deeper theoretical background on the derivation, refer to the foundational guides on Thevenin's Theorem at All About Circuits.

When the Formula Applies (And When It Breaks)

Assumptions and Applicability

The formula Vth = VL + (IL × Rth) strictly applies only to linear, bilateral networks. This means the source impedance must remain constant regardless of the current drawn or the polarity applied. Standard resistors, batteries, and linear voltage regulators (like an LM7805) fit this model perfectly within their operating ranges. The formula breaks down if your source network contains non-linear components like diodes, thermistors, or transistors operating in saturation, unless you linearize the circuit around a specific DC operating point (Q-point).

Unit Mistakes That Break the Math

The most common way hobbyists and students break this formula is through prefix mismanagement. The math demands strict base units: Volts, Amperes, and Ohms.

  • The Milliamp Trap: If your DMM reads 14.67 mA, and you plug '14.67' directly into the formula instead of '0.01467', your calculated internal voltage drop will be 1,000 times too large. You will calculate a Vth of 368V instead of 3.3V.
  • The Millivolt Mismatch: If you measure VL as 2933 mV, you must convert it to 2.933 V before adding it to the (IL × Rth) term, which is natively calculated in Volts. Adding 2933 + 0.366 yields a nonsensical 2933.366 V.

Realistic Answer Magnitudes

A sanity check on your final Vth value is critical. Here is what realistic magnitudes look like for common sources:

  • Microcontroller GPIO (e.g., ATmega328P): Vth ≈ 3.30V or 5.00V (Rth is typically 25Ω to 50Ω).
  • 12V LiFePO4 Battery Pack (4S): Vth ≈ 13.2V to 14.4V depending on State of Charge (Rth is typically 0.02Ω to 0.05Ω).
  • 9V Alkaline Battery: Vth ≈ 9.3V fresh (Rth is surprisingly high, often 1.5Ω to 3.0Ω).

Worked Problems with Strict Unit Tracking

Bench Rule: Always write the units next to your numbers during intermediate steps. If the units don't cancel out to Volts, your math is wrong before you even reach the final answer.

Problem 1: Finding the True Vth of an ESP32 GPIO Pin

Scenario: You are driving a relay coil directly from an ESP32-WROOM-32 GPIO pin (not recommended, but common in prototyping). You measure the voltage at the pin while the relay is engaged (VL) as 2.933 V. You measure the current flowing into the relay coil (IL) as 14.67 mA. The Espressif datasheet indicates the GPIO output impedance (Rth) is approximately 25 Ω. What is the ideal Thevenin voltage of this pin?

Step 1: Convert to base units.

  • VL = 2.933 V (Already in base units)
  • IL = 14.67 mA = 0.01467 A
  • Rth = 25 Ω (Already in base units)

Step 2: Calculate the internal voltage drop.

  • Drop = IL × Rth
  • Drop = 0.01467 A × 25 Ω = 0.36675 V

Step 3: Add the drop to the loaded voltage.

  • Vth = VL + Drop
  • Vth = 2.933 V + 0.36675 V = 3.29975 V

Result: Vth3.30 V. This perfectly matches the nominal 3.3V logic high of the ESP32, proving the sag was entirely due to the 25Ω internal resistance.

Problem 2: Sizing an Inverter for a 12V LiFePO4 Bank

Scenario: You are connecting a 1000W inverter to a 12V LiFePO4 battery bank. Under a heavy 15 A continuous load from the inverter's standby circuitry, the terminal voltage (VL) reads 12.85 V. You know from your DC circuit tutorials and battery spec sheet that the total internal resistance of the cells, busbars, and BMS (Rth) is 0.04 Ω. What is the true open-circuit Vth of the bank?

Step 1: Verify base units.

  • VL = 12.85 V
  • IL = 15 A
  • Rth = 0.04 Ω

Step 2: Calculate internal drop.

  • Drop = 15 A × 0.04 Ω = 0.60 V

Step 3: Solve for Vth.

  • Vth = 12.85 V + 0.60 V = 13.45 V

Result: Vth = 13.45 V. This indicates the battery is near full charge (a 4S LiFePO4 pack rests around 13.3V-13.6V at 100% SoC). If your calculation had yielded 11.2V, you would immediately know the battery is deeply discharged or a busbar connection has corroded (increasing Rth).

Rearranged Forms for Missing Variables

On the bench, you don't always need Vth. Sometimes you know the source characteristics and need to predict load behavior, or you need to extract the hidden internal resistance of a mystery power supply. Here are the algebraic rearrangements of the core formula:

Table 2: Rearranged Thevenin Equations
To Find: Use This Formula: Practical Use Case
Loaded Voltage (VL) VL = Vth - (IL × Rth) Predicting if a sensor will brownout when a motor starts.
Load Current (IL) IL = (Vth - VL) / Rth Calculating short-circuit current (where VL = 0).
Thevenin Resistance (Rth) Rth = (Vth - VL) / IL Finding the internal resistance of an aging battery pack.

Decision Path: Which Method Should You Use?

Thevenin's theorem can be applied via schematic analysis, simulation, or physical measurement. Use this decision matrix to select the correct approach for your current project phase.

Table 3: Method Selection Decision Tree
Project Phase Circuit Condition Concrete Tool / Method Pick
Design / Paper Schematic contains only linear resistors and independent sources. Use LTspice XVII: Run an .op (Operating Point) simulation, leave the load nodes open, and probe the voltage difference.
Design / Paper Schematic contains dependent sources or complex meshes. Use LTspice XVII: Apply a 1A AC test current source to the open terminals and measure the resulting voltage to extract both Vth and Rth simultaneously.
Prototyping Physical breadboard/PCB exists; circuit is linear and safe (<50V). Use a Fluke 87V DMM: Measure Voc directly across the open terminals. The 10 MΩ input impedance ensures IL ≈ 0, making VL = Vth.
Troubleshooting Physical circuit exists; cannot safely open the circuit to measure Voc. Use the Two-Load Method: Measure VL1 and IL1 with one resistor, then VL2 and IL2 with a second. Solve the system of two equations for Vth.

The Default Recommendation

If you have physical access to the circuit and the voltage is within safe multimeter limits, always default to measuring Voc directly using a high-impedance digital multimeter like the Fluke 87V. Mathematical derivation and simulation are essential for the design phase, but physical measurement accounts for parasitic resistances, cold solder joints, and component tolerances that a schematic cannot capture. Measure first, calculate second.