Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
Sphere
  • See Also
    • Circle
    • Ball
    • Circumsphere
    • Ellipsoid
    • Cylinder
    • Cone
    • Cuboid
    • GraphicsComplex
    • SpherePoints
    • SphericalPlot3D
  • Related Guides
    • Graphics Objects
    • Basic Geometric Regions
    • Symbolic Graphics Language
    • Solid Geometry
    • Precollege Education
    • Plane Geometry
  • Tech Notes
    • Three-Dimensional Graphics Primitives
    • See Also
      • Circle
      • Ball
      • Circumsphere
      • Ellipsoid
      • Cylinder
      • Cone
      • Cuboid
      • GraphicsComplex
      • SpherePoints
      • SphericalPlot3D
    • Related Guides
      • Graphics Objects
      • Basic Geometric Regions
      • Symbolic Graphics Language
      • Solid Geometry
      • Precollege Education
      • Plane Geometry
    • Tech Notes
      • Three-Dimensional Graphics Primitives

Sphere[p]

represents a unit sphere centered at the point p.

Sphere[p,r]

represents a sphere of radius r centered at the point p.

Sphere[{p1,p2,…},r]

represents a collection of spheres of radius r.

Details and Options
Details and Options Details and Options
Background & Context
Examples  
Basic Examples  
Scope  
Graphics  
Specification  
Styling  
Coordinates  
Regions  
Applications  
Properties & Relations  
Neat Examples  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • Circle
    • Ball
    • Circumsphere
    • Ellipsoid
    • Cylinder
    • Cone
    • Cuboid
    • GraphicsComplex
    • SpherePoints
    • SphericalPlot3D
  • Related Guides
    • Graphics Objects
    • Basic Geometric Regions
    • Symbolic Graphics Language
    • Solid Geometry
    • Precollege Education
    • Plane Geometry
  • Tech Notes
    • Three-Dimensional Graphics Primitives
    • See Also
      • Circle
      • Ball
      • Circumsphere
      • Ellipsoid
      • Cylinder
      • Cone
      • Cuboid
      • GraphicsComplex
      • SpherePoints
      • SphericalPlot3D
    • Related Guides
      • Graphics Objects
      • Basic Geometric Regions
      • Symbolic Graphics Language
      • Solid Geometry
      • Precollege Education
      • Plane Geometry
    • Tech Notes
      • Three-Dimensional Graphics Primitives

Sphere

Sphere[p]

represents a unit sphere centered at the point p.

Sphere[p,r]

represents a sphere of radius r centered at the point p.

Sphere[{p1,p2,…},r]

represents a collection of spheres of radius r.

Details and Options

  • Sphere can be used as a geometric region and a graphics primitive.
  • Sphere[] is equivalent to Sphere[{0,0,0}]. »
  • Sphere[n] for positive integer n is equivalent to Sphere[{0,…,0}], a unit sphere in .
  • Sphere represents the shell {x|TemplateBox[{{x, -, p}}, Norm]=r}.
  • Sphere can be used in Graphics and Graphics3D.
  • In graphics, the points p, pi and radii r can be Scaled and Dynamic expressions.
  • Graphics rendering is affected by directives such as FaceForm, Specularity, Opacity, and color.
  • Sphere[{p1,p2,…},{r1,r2,…}] represents a collection of spheres with centers pi and radii ri.

Background & Context

  • Sphere is a graphics and geometry primitive that represents a sphere in -dimensional space. In particular, Sphere[p,r] represents the sphere {x:TemplateBox[{{x, -, p}}, Norm]=r} in TemplateBox[{}, Reals]^n with center p and radius r, where r may be any non-negative real number and p can have any positive length . The shorthand form Sphere[p] is equivalent to Sphere[p,1] and Sphere[n] is equivalent to Sphere[ConstantArray[0, n],1], while Sphere[] autoevaluates to Sphere[{0,0,0}].
  • Collections of sphere objects (multi-spheres) of common radius may be efficiently represented using Sphere[{p1,…,pk},r] and balls of varying radii represented using Sphere[{p1,…,pk},{r1,…,rk}].
  • Sphere objects can be visually formatted in two and three dimensions using Graphics and Graphics3D, respectively. The appearance of Sphere objects in graphics can be modified by specifying the face directive FaceForm (in 3D); color directives such as Red; the transparency and specularity directives Opacity and Specularity; and the style option Antialiasing.
  • Sphere may also serve as a region specification over which a computation should be performed. For example, Integrate[1,{x,y,z}∈Sphere[{0,0,0},r]] and Area[Sphere[{0,0,0},r]] both return the surface area of a sphere of radius .
  • Sphere is related to a number of other symbols. Sphere represents the boundary of a ball, as can be computed using RegionBoundary[Ball[{x,y,z},r]]. Ellipsoidal surfaces (not to be confused with the solid ellipsoids represented by Ellipsoid) may be obtained from a Sphere using Scaled. A sphere passing through a set of given points may be obtained using Circumsphere. Sphere objects may be represented as ImplicitRegion[(x-u)2+(y-v)2+(z-w)2r2,{u,v,w}] or ParametricRegion[{x,y,z}+r{Cos[θ]Sin[ϕ],Sin[θ]Sin[ϕ],Cos[ϕ]},{{θ,0,2π},{ϕ,0,π}}]. Precomputed properties of the sphere in standard position are available using SurfaceData["Sphere",property] or Entity["Surface","Sphere"][property].

Examples

open all close all

Basic Examples  (2)

A unit sphere at the origin:

Area and centroid:

Scope  (22)

Graphics  (12)

Specification  (4)

A unit sphere:

Spheres with different radii:

Short form for a unit sphere at the origin:

Multiple spheres:

Styling  (4)

Colored spheres:

Different properties can be specified for the front and back of faces using FaceForm:

Spheres with different specular exponents:

Black sphere that glows red:

Opacity specifies the face opacity:

Coordinates  (4)

Use Scaled coordinates:

Use Scaled radius:

Specify scaled offsets from the ordinary coordinates:

Points can be Dynamic:

Regions  (10)

Embedding dimension is the dimension of the space in which the sphere lives:

Geometric dimension is the dimension of the shape itself:

Membership testing:

Get conditions for point membership:

Area:

Centroid:

Distance from a point:

The equidistance contours for a sphere:

Signed distance from a point:

Nearest point in the region:

Nearest points to an enclosing sphere:

A sphere is bounded:

Find its range:

Integrate over a sphere region:

Optimize over a sphere region:

Solve equations in a sphere region:

Applications  (5)

Platonic polyhedra represented by spheres:

Double helix:

Bubbles:

Use Sphere to render nodes in a GraphPlot3D:

Use Sphere in a BubbleChart3D:

Properties & Relations  (8)

Use Scale to get ellipsoids:

The 2D version of Sphere is Circle:

An implicit specification of a sphere generated by ContourPlot3D:

A parametric specification of a sphere generated by ParametricPlot3D:

ChemicalData plots a molecule using spheres and cylinders:

Several Import formats use spheres to represent molecules:

Circumsphere specifies a Sphere from points on the surface:

ImplicitRegion can represent any Sphere:

Neat Examples  (4)

Random sphere collections:

Cubic lattice of spheres:

BCC lattice of spheres:

Sample points used by NIntegrate:

See Also

Circle  Ball  Circumsphere  Ellipsoid  Cylinder  Cone  Cuboid  GraphicsComplex  SpherePoints  SphericalPlot3D

Tech Notes

    ▪
  • Three-Dimensional Graphics Primitives

Related Guides

    ▪
  • Graphics Objects
  • ▪
  • Basic Geometric Regions
  • ▪
  • Symbolic Graphics Language
  • ▪
  • Solid Geometry
  • ▪
  • Precollege Education
  • ▪
  • Plane Geometry

Related Links

  • An Elementary Introduction to the Wolfram Language : Basic Graphics Objects
  • An Elementary Introduction to the Wolfram Language : Coordinates and Graphics

History

Introduced in 2007 (6.0) | Updated in 2014 (10.0)

Wolfram Research (2007), Sphere, Wolfram Language function, https://reference.wolfram.com/language/ref/Sphere.html (updated 2014).

Text

Wolfram Research (2007), Sphere, Wolfram Language function, https://reference.wolfram.com/language/ref/Sphere.html (updated 2014).

CMS

Wolfram Language. 2007. "Sphere." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/Sphere.html.

APA

Wolfram Language. (2007). Sphere. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Sphere.html

BibTeX

@misc{reference.wolfram_2025_sphere, author="Wolfram Research", title="{Sphere}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Sphere.html}", note=[Accessed: 01-March-2026]}

BibLaTeX

@online{reference.wolfram_2025_sphere, organization={Wolfram Research}, title={Sphere}, year={2014}, url={https://reference.wolfram.com/language/ref/Sphere.html}, note=[Accessed: 01-March-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English