1001Ferramentas
Calculators

Ohm’s Law Calculator

Calculate voltage (V), current (I), resistance (R) and power (P) using Ohm’s Law. Provide any two values and the calculator finds the other two. Useful for electronics and electrical work. Everything in your browser.

Fill in any two values. The other two are calculated.

Voltage

Current

Resistance

Power

Lei de Ohm

Ohm's law ties voltage (V), current (I) and resistance (R) together in a circuit: V = I × R. Electrical power is P = V × I. Combining the two gives P = I² × R = V² / R.

  • Voltage (V) — potential difference in volts.
  • Current (I) — flow of electrons in amperes.
  • Resistance (R) — opposition to current in ohms.
  • Power (P) — energy consumed in watts.

Everything in your browser.

Ohm's law: voltage, current and resistance

Ohm's law states that the current through a conductor is proportional to the voltage across it: V = R · I, where V is voltage in volts, R is resistance in ohms (Ω) and I is current in amperes. Rearranged: R = V / I and I = V / R. Electrical power follows from P = V · I = R · I² = V² / R, measured in watts. Published by Georg Ohm in 1827 (Die galvanische Kette mathematisch bearbeitet), the law holds for ohmic (linear) resistors only — it does not apply to diodes, transistors, or incandescent bulbs at high temperatures, where resistance changes with current. In Brazil, residential voltage is 127 V (some states) or 220 V, at 60 Hz (versus 50 Hz in Europe). Example: a 60 W bulb on a 127 V outlet draws I = 60 / 127 ≈ 0.47 A, with resistance R = 127² / 60 ≈ 268 Ω.

Applications: wire sizing, fuses and electronics

Ohm's law sizes wires by current capacity (Brazilian NBR 5410 allows roughly 10 A/mm² for residential copper), selects circuit breakers so they trip before wires overheat, and dimensions current-limiting resistors for LEDs (R = (Vsource − VLED) / ILED). It also underpins voltage dividers, pull-up/pull-down resistors in microcontrollers, and power dissipation calculations to avoid burning components.

FAQ

Does Ohm's law apply to AC circuits? Yes for purely resistive loads. For capacitive or inductive loads (motors, transformers), use complex impedance Z instead of R: V = Z · I.

Why doesn't the law work for diodes? Diodes are non-ohmic: current rises exponentially with voltage past the threshold (~0.7 V for silicon), so R is not constant.

How do I pick an LED resistor? Subtract the LED forward voltage from the supply, then divide by the desired current. Example: 5 V supply, 2 V red LED at 20 mA → R = (5 − 2) / 0.02 = 150 Ω.

Is 127 V or 220 V more efficient? Higher voltage means lower current for the same power, so less loss in cables (Ploss = R · I²). That's why long-distance transmission uses hundreds of kilovolts.

Related Tools

〰️

Output Voltage Ripple

Calculate the output voltage ripple of a switching converter, ΔV = I ÷ (f × C), from the output current I, the switching frequency f and the output capacitance C. The result, in volts, is the residual oscillation superimposed on the DC output voltage, caused by the filter capacitor charging and discharging each switching cycle. Higher frequency and capacitance reduce the ripple. Keeping the ripple within limits (typically <1% of the output) is essential to supply sensitive circuits. Enter the current, the switching frequency and the capacitance.

🔄

Buck-Boost Converter

Calculate the output voltage of a buck-boost DC-DC converter in continuous conduction, V_out = V_in × D ÷ (1 − D), from the input voltage V_in and the duty cycle D (0 to 1). The result, in volts, can be lower (D < 0.5) or higher (D > 0.5) than the input — the buck-boost converter steps voltage down or up depending on the duty cycle, with inverted output polarity in the classic topology. It is used when the input voltage can vary above and below the desired output (discharging batteries, universal supplies). Enter the input voltage and the duty cycle.

Rectifier Average Voltage

Calculate the average (DC) voltage of a full-wave rectifier, V_dc = 2 × V_p ÷ π, from the peak voltage V_p of the sinusoidal input. The result, in volts, is the mean value of the pulsating voltage at the rectifier output before filtering — about 63.7% of the peak. A full-wave rectifier (bridge or center-tap) flips the negative half-cycles, doubling the ripple frequency and raising the average voltage compared with a half-wave rectifier (V_p/π). It is the basis of designing DC power supplies from the AC mains. Capacitor filtering then raises the voltage further (close to the peak). Enter the peak voltage.

🌡️

Junction Temperature

Calculate the junction temperature of a power semiconductor, T_j = T_a + P × R_th, from the ambient temperature T_a, the dissipated power P and the total junction-to-ambient thermal resistance R_th (°C/W). The result, in °C, is the device's internal temperature (silicon junction), which must not exceed the manufacturer's limit (typically 150 °C) on pain of failure. The thermal resistance adds the junction-to-case, case-to-heatsink and heatsink-to-ambient stages. Lowering R_th (larger heatsink, ventilation, thermal paste) lowers the junction temperature. It is the central calculation of power electronics thermal design. Enter the ambient temperature, the dissipated power and the thermal resistance.

📉

Inductor Current Ripple

Calculate the inductor current ripple of a buck converter, ΔI_L = (V_in × D) ÷ (L × f), from the input voltage V_in, the duty cycle D, the inductance L and the switching frequency f. The result, in amperes, is the peak-to-peak variation of the inductor current each cycle. It is a central design parameter: a typical ripple of 20-40% of the average current is a good compromise. Higher inductance and frequency reduce the ripple (larger inductor, more costly; higher frequency, more switching losses). It also sets the boundary between continuous and discontinuous conduction. Enter the voltage, duty cycle, inductance and frequency.

📊

Square-Wave RMS Current

Calculate the RMS value of a pulsing square-wave current, I_rms = I_p × √D, from the peak current I_p and the duty cycle D (fraction of the period the current flows). The result, in amperes, is the RMS current that determines the actual heating (I²R losses) of a component that conducts in pulses — such as a transistor or winding in a switching converter. Unlike the average value, the RMS is what matters for sizing conductors, resistances and dissipation. The smaller the duty cycle, the lower the RMS for the same peak current. Enter the peak current and the duty cycle.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.