ForHosting KIT · Science

Mirror focal length from radius

Enter the radius of curvature and get the focal length at once: a mirror with a radius of 40 has a focal length of 20 and is concave. The sign tells a converging mirror from a diverging one. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Radius of curvature
40
You get
Focal length
20
Mirror type
concave

A spherical mirror’s focal length is half its radius of curvature: once you know R, f follows immediately as R over two, with a sign that tells you whether the surface converges light (concave) or diverges it (convex).

Why the focal length is half the radius

A spherical mirror is a slice of a sphere. Rays that arrive parallel to its axis reflect and meet, or appear to meet, at the focal point, and for rays close to the axis that point sits midway between the mirror’s surface and its centre of curvature. That geometry fixes the rule: the focal length is the radius divided by two. With the usual school sign convention, a positive radius means a concave mirror that gathers light and gives a positive focal length; a negative radius means a convex mirror that spreads light and gives a negative one. A radius of 40, for example, returns a focal length of 20 and a concave mirror.

When to use it and mistakes to avoid

It suits homework and lab drills where a radius is given and you need the signed focal length, and quick checks on whether a spherical blank converges or diverges light. The focal length comes back in the same unit as the radius, so keep centimetres with centimetres and metres with metres. A zero radius is rejected, because it has no centre of curvature. A common slip is dropping the minus sign for a convex mirror. This calculator does not find object or image distances: once you have the focal length, the mirror equation calculator takes it from there.

What f = R/2 means for spherical mirrors and search intent

Under the paraxial approximation, rays parallel to the optical axis of a spherical mirror reflect and meet (or appear to meet) at the focal point, which lies midway between the vertex of the mirror and its center of curvature. Geometry of the sphere therefore fixes the relation f equals R divided by two: the focal length is half the radius of curvature.

Search phrases cluster around mirror focal length from radius, spherical mirror f equals R over 2, concave mirror focal length calculator, convex mirror radius of curvature to focal length, and radius of curvature of a mirror. People want a signed numeric focal length they can plug into the mirror equation or a lab notebook—not only a reminder that the formula exists. Keep R and the returned f in the same length units—centimetres with centimetres, metres with metres—because the engine does not convert units.

Homework and lab spherical-mirror drills

Students and graders convert a given radius of curvature into signed focal length f = R/2, with clear rejection when R is zero or non-finite.

Concave and convex design sanity checks

Quick structured numbers for whether a spherical blank is converging or diverging from its signed R, without standing up a full optical design stack.

Which formula does this calculator use?

The spherical-mirror relation f = R/2 under the school sign convention: positive R and f for concave (converging), negative R and f for convex (diverging).

What happens if the radius of curvature is zero?

Zero R is not a valid spherical mirror geometry and those calls are not charged.

Is the mirror focal length from radius calculator free?

The browser tool runs free on your device.

How does this differ from the mirror equation calculator?

This tool only converts radius of curvature into focal length. The mirror equation calculator takes f and object distance to find image distance and magnification.

Can the radius of curvature be negative?

Yes. A negative radius describes a convex mirror, which spreads light out, and the focal length comes back negative as well, still exactly half the radius.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/optics/mirror-focal-from-radius

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/optics/mirror-focal-from-radius \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"radius_of_curvature":40}'
{
  "radius_of_curvature": 40
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "optics.mirror_focal_from_radius",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Physics students checking ray-diagram worksheets, teachers building answer keys, optical technicians verifying simple spherical blanks, and tutoring platforms that need structured JSON all hit the same relation. This capacity accepts a finite non-zero radius of curvature, returns focal length, mirror type, formula, method, and the sign convention string, and rejects R equals zero with invalid_input so callers never treat a plane-like degenerate geometry as a valid spherical focus.

What f = R/2 means for spherical mirrors and search intent

Delivering radius_of_curvature, focal_length, mirror_type, formula, method, and sign_convention as JSON makes the result easy to paste into notes, diff in automated tests, or reuse across languages without reimplementing the divide. This endpoint does not solve object and image distances; pair it with a mirror-equation tool when you already know f and need di and magnification.

Input contract, sign convention, and how validation works

Zero radius is always rejected: R equals zero is not a valid spherical mirror surface with a defined center of curvature, and f equals R over two would collapse to zero in a way that misleads homework checks. Under the common school sign convention used with the curved-mirror equation elsewhere in this catalogue, positive R means a concave (converging) mirror and yields positive f; negative R means a convex (diverging) mirror and yields negative f. There is no multi-mirror train, no aspheric figure, and no lensmaker path—this is ideal spherical-mirror algebra from a single known radius. POST a JSON body with required radius_of_curvature. Aliases R, radius, and roc map to the same field so forms and short lab notes can pass familiar symbols. Every provided value must be a finite number or a numeric string that parses to a finite number; missing fields, empty strings, non-numeric text, NaN, and Infinity all fail immediately with invalid_input before any result is returned, and failed validation is not charged. After validation, focal_length is computed as radius_of_curvature divided by two and rounded to a stable twelve-decimal precision so the same input always yields the same JSON across JavaScript engines. The response field mirror_type is therefore concave when R is positive and convex when R is negative.

Practical use, limits, pricing, and delivery channels

Use the browser tool when you want an immediate f equals R over two check while grading homework, verifying a lab spherical-mirror blank, converting a manufacturer radius into focal length for a concave shaving-mirror demo, or sanity-checking that a convex security-mirror sample carries a negative focal length under the school convention. Choose signs consistently so positive f feeds concave cases in the mirror equation and negative f feeds convex cases as textbooks expect. There is no language model, no external optics service, and no randomness, so the capacity is safe to pin in continuous-integration checks and reproducible lesson materials. Each successful request is one billable item at $0.002; failed validation does not consume balance. Results are fully deterministic: the same radius always yields the same focal_length and mirror_type. Wire the endpoint into optics drills, contest answer checkers, radius-to-focus worksheets, or preprocessing steps where you already prefer explicit domain errors—such as rejecting zero radius—over opaque black-box widgets that cannot explain why a bad input was refused.

Deterministic fixtures for optics tests

Pipelines that seed unit tests or ray-diagram demos can call a pure R-to-f oracle instead of reimplementing the half-radius rule in every language.

How do I compute mirror focal length from radius of curvature?

Send a JSON body with radius_of_curvature (aliases R, radius, roc) to optics.mirror_focal_from_radius. The response returns focal_length as R/2, mirror_type, formula, and method.

Read the full KIT documentation →