Sumivo · Electrical

Ohm’s Law & Electrical Power Calculator

Enter voltage and current to calculate resistance and power.

01 / INPUTS

Result order
V
A

02 / RESULT

Power
24 W
Resistance
6 Ω

Calculation trace

  1. 12 V ÷ 2 A = 6 Ω
    6 Ω
    Resistance
  2. 12 V × 2 A = 24 W
    24 W
    Power

Maintained by Jack Shi

§

How it works

Enter voltage across a resistive load in volts (V) and current through it in amperes (A). This page calculates resistance R = V ÷ I in ohms (Ω) and power P = V × I in watts (W). Power is shown first by default; choose Resistance first to change the result order. Both outputs always remain available. It does not solve for an unknown voltage or current.

Assumptions & limits

  • Both inputs must be finite and strictly greater than zero. Negative signed values and zero are not supported by this version. There is no fixed upper input limit, but results that overflow or underflow the positive numeric range are rejected.
  • Enter current in A, not mA: 15 mA = 0.015 A. Use voltage and current for the same load and operating condition.
  • Interpret the outputs using a steady DC, ohmic-load model. Resistance is treated as constant at the entered operating point. The calculator does not model temperature changes, AC phase, reactance or a component power rating.

Verified runs

Synthetic examples executed at build revision be2e0e4 on . Cards round decimal results to 6 significant figures; matching uses full precision and the tolerance below. Matches cover the displayed fields, not every possible input or clinical or engineering validation.

  • Inputs: Voltage: 12 V; Current: 2 A

    Result: Resistance: 6 Ω; Power: 24 W (expected Resistance: 6 Ω; Power: 24 W) ✓

  • Inputs: Voltage: 0.001 V; Current: 0.0005 A

    Result: Resistance: 2 Ω (expected Resistance: 2 Ω) ✓

  • Inputs: Voltage: 5 V; Current: 1 A

    Result: Resistance: 5 Ω; Power: 5 W (expected Resistance: 5 Ω; Power: 5 W) ✓

How these runs were checked

Method: ohms-law@1.0.0. Expectations come from the listed test fixtures or hand arithmetic; they are not copied from these executions. Omitted optional inputs use the method defaults. Run dates record execution, not expert review or fresh measurements.

Download all verified runs (JSON) — full inputs, returned values, expectations, timestamps and buildRevision.

  • normal: . Absolute tolerance: 1e-10. Text and booleans match exactly. Full-precision result: Resistance: 6 Ω; Power: 24 W. Expected: Resistance: 6 Ω; Power: 24 W. Expectation: packages/calculator-core/tests/ohms-law.test.ts
  • boundary: . Absolute tolerance: 1e-10. Text and booleans match exactly. Full-precision result: Resistance: 2 Ω. Expected: Resistance: 2 Ω. Expectation: packages/calculator-core/tests/ohms-law.test.ts
  • sensitivity: . Absolute tolerance: 1e-10. Text and booleans match exactly. Full-precision result: Resistance: 5 Ω; Power: 5 W. Expected: Resistance: 5 Ω; Power: 5 W. Expectation: packages/calculator-core/tests/ohms-law.test.ts

Reproduce from the source checkout with pnpm --filter @sumivo/web gen:verified-runs. A rebuild changes execution times; the revision identifies its Git starting point, including any uncommitted changes made for that build.

§

Synthetic example

9 V across a load carrying 0.015 A (15 mA).

  1. Convert the current if needed: 15 mA ÷ 1000 = 0.015 A.
  2. Resistance = 9 ÷ 0.015 = 600 Ω.
  3. Power = 9 × 0.015 = 0.135 W.

600 Ω resistance and 0.135 W power.

§

Boundary case

At 9 V and 0 A the tool shows an input error and no result. R = V/I would require division by zero; it does not report an infinite resistance or model an open circuit. Zero voltage is also rejected, even with positive current.

§

How to read the result

Resistance is the V/I ratio at the entered operating point; power is the electrical power absorbed under the resistive-load assumption. A single pair of values does not demonstrate that a real device has constant resistance. Calculated watts are not a recommended resistor wattage rating because this tool has no rating or thermal model.

§

Sources and what they support

The positive-only input domain and omitted AC/thermal calculations are implementation limits. The synthetic example follows the stated equations and does not specify a component rating.

§

FAQ

Can I enter a resistance instead?
This page has only voltage and current inputs. Both are required; the outputs are resistance and power.
§

Related calculators

§

SOURCES