# Circumference of a Sphere

Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones

As an Amazon Associate I earn from qualifying purchases. Thank you!

**Formula:**`C = π × diameter`

## Introduction to Circumference of a Sphere

The circumference of a sphere is calculated by multiplying the value of π with the diameter of the sphere. In the formula, ** C** represents the circumference of the sphere and

**is the measurement of the longest distance across the sphere, passing through its center. The result is expressed in the same units as the diameter.**

*diameter*## Parameter usage:

`diameter`

= diameter of the sphere

## Example valid value:

`diameter`

= 10

## Output:

`circumference`

= circumference of the sphere

## Data validation

The diameter should be greater than zero.

## Summary

This calculator takes into account the diameter of a sphere and outputs its circumference.

Tags: Geometry, Sphere, Circumference