HomeCalculatorsPhysicsMagnetic Field Calculator
Physics calculator

Magnetic Field Calculator

B = μ₀ I / (2π r). Runs locally in your browser.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance
Input interpretation
Enter values to calculate.
Result
Assurance
Engineering
Declared partition coverage
PASS · 2/2 declared partitions (B, invalid-domain) · Matrix
Known limitations
  • Infinite straight wire / long solenoid
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
B = μ₀ I / (2π r)
Scope
Documented on page
Verification
Engine tested · Source checked · v1.0.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance· View Manifest · CVP overview · Specification
Versions
Calculation 1.0.0 · CVP protocol 1.0.0-proposed
CVP identity
1/1 property · digest e23296fe2662
Legacy regression
3/3 tests · Production surface contract 4/4
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
1/1 golden · 1/1 CVP boundary · 1/1 invalid · 1/1 property · 1/1 cross-interface · 1/1 CVP contract · Manifest
Sources
  • Intro physics / NIST units — standard relations
  • ISO 80000-6 — Electromagnetism — Magnetic field of wire / solenoid
Sources
Evidence
1 legacy golden · 1 legacy boundary · legacy regression suite · 1/1 oracle-backed golden · 1/1 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.0.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

PrimaryB = μ0 · I / (2π · r)
iSI units unless noted.

How to use

1

Enter known values

Leave the unknown for the API mode to solve.

2

Confirm units

Use SI units unless noted.

3

Read the result

B = μ₀ I / (2π r)

Example calculations

Common configurations with formula and result.

ϟ

Example

validation

I=10 A, r=0.05 m (wire) → B≈4.0e-5 T

Magnetic Field calculator specification

Version 1.0.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
B = μ₀ I / (2π r)
What it calculates
B = μ₀ I / (2π r)
Inputs
  • see form
Outputs
  • see API
Formula
see formulas
Assumptions
  • Documented on page
Units
  • SI
Boundary conditions
  • coded hard errors
Example
I=10 A, r=0.05 m (wire) → B≈4.0e-5 T
Validation cases

1 published on this page · 3/3 tests · Production surface contract 4/4 · View evidence

  • see suite → see suite
Sources
  • Intro physics / NIST units — standard relations
    Supports: engine formulas
  • ISO 80000-6 — Electromagnetism — Magnetic field of wire / solenoid
    Supports: B = μ0 I/(2πr); B = μ0 n I
Calculation version
1.0.0

Background

Interpretation and common distinctions.

B = μ₀ I / (2π r)

Supported and not supported

Supported — API physics.em.magnetic_field

Not supported — Finite loops, Biot–Savart arbitrary paths

Agent / API notes

Capability id: physics.em.magnetic_field · tool id: magnetic-field · pin 1.0.0.

Other calculators in this family: Electric Field, Faraday's Law .

}

Frequently asked questions

Key distinctions behind the calculation.

What does the API reject?

Hard validation errors such as missing inputs or out-of-range values.