1. Home
  2. Calculators
  3. Ohm’s Law Calculator

Ohm’s Law Calculator

For students and hobbyists: type any two values, with SI prefixes like 4.7k or 20m, and read the other two instantly, with the right resistor power rating.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Ohm’s Law Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Any pair of voltage, current, resistance or power
  • SI prefixes such as 4.7k, 100m and 2M2
  • Values shown in engineering units (mA, kΩ, mW)
  • Resistor wattage with a 2× safety margin
  • A voltage-current graph you can download

Supported formats

Input

  • Typed numbers with SI prefixes (4.7k, 100n, 20m)

You get

  • On-screen results
  • Copyable text
  • Drawing as SVG and PNG

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Ohm’s Law Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It handles DC and resistive loads; AC circuits with reactance or a power factor need different formulas.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Ohm's law and the power formulas: finding voltage, current, resistance and watts

Ohm’s law is the first thing anyone learns about circuits and the thing most often needed in the middle of a project: how much current will this resistor pass, how hot will it get, what resistance gives the current I want? This calculator takes any two of voltage, current, resistance and power and returns the other two, so you never have to remember which rearrangement to use.

The formulas it uses

Georg Ohm’s relationship is V = I × R: the voltage across a resistor equals the current through it times its resistance. Electrical power is P = V × I, and substituting Ohm’s law gives two more forms, P = I² × R and P = V² / R. With any two of the four quantities there is exactly one way to find the others, which gives six pairs: voltage and current, voltage and resistance, voltage and power, current and resistance, current and power, resistance and power. The tool picks the right pair automatically.

Typing values with prefixes

Engineers rarely write 0.02 for twenty milliamps. In every box you can use the usual prefixes: p, n, u or µ, m, k, M and G, so 20m means 0.02, 4.7k means 4,700, 2M2 means 2.2 million and 100n means 0.0000001. A lower-case m is milli and an upper-case M is mega, which is the one rule worth remembering. Results are written back in engineering units such as mA, kΩ and mW so that they read like a data sheet.

Choosing the resistor rating

If the circuit includes a resistor, the power it dissipates decides what size part to buy. The calculator doubles the dissipation and picks the smallest standard rating from 1/16 W up to 50 W that covers it, then warns when the heat is above 5 W because a small resistor needs real airflow at that level. The reasoning is that a resistor run near its limit drifts and ages quickly, while half-rated parts stay cool.

A worked example

Put 12 V across a 470 Ω resistor. The current is 12 / 470 = 25.53 mA and the power is 12 × 0.02553 = 306.4 mW, so the suggested rating is 1 W. Second case: a 20 mA current through 220 Ω needs 4.4 V and dissipates 88 mW, which fits a 1/4 W part. Third: a 60 W bulb on 230 V draws 260.9 mA, and its hot resistance works out at 881.7 Ω. A filament’s resistance rises with temperature, so that figure is its hot resistance, not what a meter reads on a cold bulb.

The graph and the what-if table

The graph plots current against voltage for your resistance; because the relationship is linear it is a straight line through the origin, and your circuit is the marked point. The table below the results repeats the calculation at half, equal, one and a half and double your voltage, which shows how fast power grows: doubling the voltage multiplies the dissipation by four, since P = V² / R.

Limits

Everything here assumes a resistive load and steady direct current. Alternating current into a coil or capacitor involves reactance and phase, and a switching supply or motor has a power factor, none of which the four formulas include. Real resistors also change value with temperature and carry a tolerance. The tool cannot see how well a part is ventilated, so the suggested rating is a starting point and not a safety certificate.

Checked against the current version of the Ohm’s Law Calculator on .

Frequently asked questions

What happens if I type three values that do not agree?

Only the first two filled boxes, in the order voltage, current, resistance and power, are used. The calculator reports the other two from those and says that the extra entries were ignored, so a contradictory third number cannot quietly distort the answer. Clear a box if you want a different pair to drive the result.

Why does the page suggest a bigger power rating than the dissipation?

A resistor that dissipates close to its rating runs hot, drifts in value and shortens the life of the board around it. Doubling the calculated power and rounding up to the next stock rating leaves room for supply tolerance and a warm enclosure. A 306 mW dissipation, for example, points to a 1 W part.

What do I type for 20 milliamps?

Type 20m. The tool reads m as milli, k as kilo, M as mega, u as micro and n as nano, so 20m is 0.02 A and 4.7k is 4,700 Ω.

Why does it ignore a third value I entered?

Two values fix the circuit, so a third would either repeat or contradict them. The first two boxes you filled in are used and the rest are calculated.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.