is an option for Graphics3D that gives the ratios of side lengths for the bounding box of the threedimensional picture.


  • BoxRatios->{sx,sy,sz} gives the sidelength ratios.
  • BoxRatios->Automatic normally gives box ratios corresponding to the actual coordinate values in the 3D graphic.


open allclose all

Basic Examples  (2)

Specify the ratios between the bounding box lengths:

Use the actual coordinate values for the ratios:

Properties & Relations  (6)

Graphics3D uses Automatic by default:

Plot3D, ListPlot3D, and ListPointPlot3D use by default:

ContourPlot3D and ListContourPlot3D use by default:

Others, such as ParametricPlot3D and ListSurfacePlot3D, use Automatic by default:

ReliefPlot determines the appropriate BoxRatios automatically for the shading:

Styles of the edges can be specified by BoxStyle:

Possible Issues  (1)

By default, ParametricPlot3D may yield a graphic with an extreme box ratio:

Use an explicit BoxRatios to get a reasonable result:

Wolfram Research (1988), BoxRatios, Wolfram Language function,


Wolfram Research (1988), BoxRatios, Wolfram Language function,


Wolfram Language. 1988. "BoxRatios." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (1988). BoxRatios. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_boxratios, author="Wolfram Research", title="{BoxRatios}", year="1988", howpublished="\url{}", note=[Accessed: 19-July-2024 ]}


@online{reference.wolfram_2024_boxratios, organization={Wolfram Research}, title={BoxRatios}, year={1988}, url={}, note=[Accessed: 19-July-2024 ]}