---
title: "Ohm’s Law Calculator"
method: GET
path: "/api/calc/ohms-law-calculator"
tags: ["Math"]
---

# Ohm’s Law Calculator

`GET /api/calc/ohms-law-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/ohms-law-calculator`
- Auth: none declared

Enter any two of volts, amps, ohms and watts to get the other two. Also converts watts to amps for DC, single-phase and three-phase AC with power factor.

## Query parameters

- `mode` 'ohm' | 'power': Calculate
- `v` number: Voltage (V) (V)
- `i` number: Current (I) (A)
- `r` number: Resistance (R) (Ω)
- `p` number: Power (P) (W)
- `phase` 'dc' | 'ac1' | 'ac3': Circuit
- `solve` 'amps' | 'watts' | 'volts': Find
- `watts` number: Power (W)
- `amps` number: Current (A)
- `volts` number: Voltage (V)
- `pf` number: Power factor 1 for heaters and incandescent lamps; about 0.8–0.95 for motors and electronics.

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
