Focal ratio and f-number calculator from focal length and aperture
A telescope with a focal length of 1,200 mm and an aperture of 200 mm has a focal ratio of 6, written f/6. Enter both lengths in the same unit to get the focal ratio and f-number of any telescope or lens. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Focal length
- 1,200
- Aperture diameter
- 200
- Focal ratio
- 6
- F number
- 6
- Notation
- f/6
This focal ratio calculator finds the f-number of a telescope, camera lens, or other optical system from two direct measurements: focal length and clear aperture diameter. Enter both values in the same unit and the calculator divides focal length by diameter, returning the focal ratio, equivalent f-number, and familiar f/ notation. It is useful for comparing telescope speed, checking equipment specifications, preparing observing plans, and validating optical calculations. A zero or negative aperture diameter is rejected because it cannot describe a physical opening and would make the ratio undefined or misleading.
Understand the focal ratio formula
Focal ratio is defined as focal length divided by aperture diameter. If a telescope has a focal length of 1,200 millimeters and an aperture diameter of 200 millimeters, its focal ratio is 6 and it is commonly described as f/6. The same calculation works in inches, centimeters, meters, or any other length unit, provided both inputs use exactly the same unit.
Because the units cancel during division, the result is dimensionless. A smaller number is often called a faster optical system, and a larger number is called slower, although those terms describe optical behavior rather than calculation speed. This capability applies the basic geometric definition only.
It does not estimate transmission losses, obstruction effects, focal reducers, field curvature, or the actual brightness of a particular target. Those properties may matter in a complete observing or imaging analysis, but they do not change the arithmetic definition of focal ratio from the supplied effective focal length and clear aperture diameter.
Choose consistent and meaningful inputs
The most important input rule is unit consistency: a focal length entered in millimeters must be paired with a diameter in millimeters. For example, combining 1,200 millimeters with 20 centimeters without first converting the diameter would produce a result off by a factor of ten. Use effective focal length when accessories alter the native system.
A focal reducer shortens effective focal length, while a Barlow lens or teleconverter increases it, so the relevant focal ratio may differ from the value engraved on the original instrument. Use the effective clear aperture rather than the radius, area, circumference, or mirror surface diameter hidden by a mask. The calculator accepts a zero focal length mathematically, but practical astronomical systems normally have a positive focal length; callers should supply the real specification appropriate to their design.
Aperture diameter is handled more strictly and must be greater than zero.
Interpret and use the result
The result can support quick equipment comparisons, imaging setup records, classroom exercises, and automated catalogue checks. For extended objects recorded at the same image scale and with otherwise comparable systems, a lower f-number generally corresponds to a brighter image at the focal plane and shorter exposure requirements. For visual astronomy, aperture, magnification, exit pupil, sky conditions, and target characteristics also matter, so focal ratio alone does not rank every telescope experience.
Likewise, focal ratio does not directly state field of view; that also depends on sensor size or eyepiece field stop. Treat the returned notation as a concise description of geometry, not a complete performance score. If a product database says an instrument is f/5 but its listed 1,000 millimeter focal length and 100 millimeter aperture calculate to f/10, the mismatch can be flagged for review instead of silently published.
What you can do with it
Compare telescope configurations
Calculate and compare focal ratios from manufacturer specifications or proposed optical combinations.
Validate astronomy catalogues
Check whether published focal length, aperture, and f-number values agree before records are released.
Prepare imaging setups
Recalculate the effective f-number after changing focal length with a reducer, Barlow lens, or teleconverter.
FAQ
What formula is used?
Focal ratio equals focal length divided by aperture diameter: N = f / D.
Must both inputs use the same unit?
Yes. Use millimeters with millimeters, inches with inches, or another consistent length unit so the units cancel correctly.
Are focal ratio and f-number different?
In this calculation they describe the same dimensionless ratio. The value is often written in f/ notation, such as f/6.
What if I use a focal reducer or a Barlow lens?
Enter the effective focal length. A focal reducer shortens it and a Barlow lens or teleconverter lengthens it, so the focal ratio that matters can differ from the value engraved on the instrument.
What does a faster or slower telescope mean?
A smaller focal ratio is called faster and a larger one slower. Those words describe optical behavior, not how quickly anything is calculated, and the ratio alone does not predict the brightness of a particular target.
Related tools
For developers — API access
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.
API endpoint
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.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/astro/focal-ratio \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"focal_length":1200,"aperture_diameter":200}'const res = await fetch("https://api.kit.forhosting.com/astro/focal-ratio", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"focal_length": 1200,
"aperture_diameter": 200
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/astro/focal-ratio",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"focal_length": 1200,
"aperture_diameter": 200
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/astro/focal-ratio", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"focal_length":1200,"aperture_diameter":200}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"focal_length":1200,"aperture_diameter":200}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/astro/focal-ratio", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"focal_length": 1200,
"aperture_diameter": 200
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "astro.focal_ratio",
"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.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
Understand the focal ratio formula
The returned focal_ratio and f_number fields therefore contain the same numeric value, while notation presents that value in the familiar form used on optical equipment.
Choose consistent and meaningful inputs
Enter focal_length and aperture_diameter as finite numbers. Zero would require division by zero, and a negative diameter has no physical meaning, so either case produces an invalid_input error rather than Infinity, a negative ratio, or an apparently successful response that could contaminate later calculations.
Interpret and use the result
When integrating the API, retain the original focal_length and aperture_diameter fields returned beside focal_ratio so a result remains auditable. Browser calculations are convenient for individual checks, while API automation costs $0.002 per item and can apply the same deterministic rule across inventories, educational answer keys, configuration tools, or observing-planner records without network-dependent scientific models.
Technical questions
What happens when aperture diameter is zero or negative?
The request fails with invalid_input because division by zero is undefined and a negative physical diameter is not valid.
How much does the API calculation cost?
Each successful API item uses the published base price of $0.002; the browser calculator can be used for individual checks.