Quick answer
The diameter of a circle is d = 2r = C ÷ π = 2√(A ÷ π). From a radius of 4, the diameter is 8, the circumference 25.1327 and the area 50.2655.
Choose which measurement you know and enter it. The calculator returns the diameter and the rest.
Related tools: Circumference Calculator: Circumference of a circle. Radius Calculator: Radius of a circle from diameter, circumference or area. Area of a Circle Calculator: Area of a circle from its radius, diameter or circumference.
How to use the Circle Diameter Calculator
- Choose i know the: Radius, Diameter, Circumference and Area.
- Enter value (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| I know the | Choose one: Radius; Diameter; Circumference; Area | Starts at Radius |
| Value | A number | > 0 |
Formula and method
Formula
d = 2r; C = 2πr; A = πr²
IEEE-754 double precision; shown to at most 6 decimal places.
Every quantity is derived from the radius: r = d/2 = C/2π = √(A/π).
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: I know the = Radius; Value = 4.
| Result | Value |
|---|---|
| Diameter | 8 |
| Radius | 4 |
| Circumference | 25.132741 |
| Area | 50.265482 |
Example 2
Inputs: I know the = Circumference; Value = 31.41592653589793.
| Result | Value |
|---|---|
| Diameter | 10 |
| Radius | 5 |
| Circumference | 31.415927 |
| Area | 78.539816 |
The first line is the headline result (diameter). Below it the circle Diameter Calculator lists radius, circumference and area, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.
From other measurements
From the circumference: d = C ÷ π, so 25.1327 ÷ 3.14159 = 8. From the area: d = 2√(50.2655 ÷ π) = 8. This is how you find the diameter of a tree from a tape around its trunk.
Units
The diameter is in the same unit as the input; area is in squared units. Pipes and wheels are specified by diameter, so converting from circumference is common.
How the result changes with value
Holding every other input at the first worked example, this table changes only value. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| Value | Diameter | Radius | Circumference |
|---|---|---|---|
| 2 | 4 | 2 | 12.566371 |
| 4 | 8 | 4 | 25.132741 |
| 8 | 16 | 8 | 50.265482 |
| 16 | 32 | 16 | 100.530965 |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Value: entering "0" shows "Value must be greater than 0." beside that field and no result.
Choosing between the Circle Diameter Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Circumference Calculator](/math/circumference/) | i know the and value | Circumference |
| [Radius Calculator](/math/radius-calculator/) | i know the and value | Radius |
| [Area of a Circle Calculator](/math/area-of-a-circle/) | i know the and value | Area |
| [Sector Area Calculator](/math/sector-area/) | radius and central angle | Sector area |
| [Circle Calculator](/math/circle-calculator/) | i know the and value | Area |
Background: geometry measurements
Geometry results carry units that depend on the quantity: a perimeter or length is in linear units such as cm, an area or surface area is in square units (cm²) and a volume is in cubic units (cm³). Use one length unit for every input, because the calculator multiplies the numbers as given.
Flat (2D) shapes have an area and a perimeter; solids (3D) have a surface area and a volume. Two familiar checks: a circle of radius r has area πr² and circumference 2πr, and a sphere has volume (4/3)πr³ and surface area 4πr².
Assumptions and limitations
- Value must be positive
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for value to confirm this.
Frequently asked questions
What is the diameter if the radius is 7?
A radius of 7 gives a diameter of 14.
How do I measure the diameter of a pipe?
Wrap a tape around it and divide by π.
What is the relation to circumference?
C = πd: a diameter of 10 gives a circumference of 31.416.
What does the Circle Diameter Calculator calculate?
Diameter of a circle from radius, circumference or area. It returns Diameter, Radius, Circumference and Area.
What formula does the Circle Diameter Calculator use?
d = 2r; C = 2πr; A = πr². Every quantity is derived from the radius: r = d/2 = C/2π = √(A/π).
What does the “I know the” option change?
It sets how the circle Diameter is worked out. The choices are Radius, Diameter, Circumference and Area.
What is an example of a circle Diameter result?
With i know the Radius and value 4, the diameter is 8.
Related calculators
- Circumference Calculator — Circumference of a circle.
- Radius Calculator — Radius of a circle from diameter, circumference or area.
- Area of a Circle Calculator — Area of a circle from its radius, diameter or circumference.
- Sector Area Calculator — Area and arc length of a circular sector.
- Circle Calculator — Radius, diameter, circumference and area of a circle from any one of them.
- Circumference to Diameter Calculator — Convert a circle's circumference to its diameter.
- Diameter to Radius Calculator — Convert a circle's diameter to its radius.
- Circle Perimeter Calculator — Perimeter (circumference) of a circle from its radius.
- Octagon Calculator — Area, perimeter and angles of a regular 8-sided polygon.
Sources
- Standard Euclidean geometry formulas (e.g. NIST Digital Library of Mathematical Functions §4, CRC Standard Mathematical Tables)
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.