is a notebook option that specifies the size of window that should be used to display a notebook on the screen.


  • The following settings can be given:
  • wspecwidth specified by wspec; height determined automatically
    {wspec,hspec}width and height specified
    Fullfull screen
  • Specifications for both width and height can be any of the following:
  • Automaticdetermined by WindowMargins and screen size
    Tiny, Small, Medium, Largepredefined sizes
    dd printer's points
    72didi inches
    Scaled[s]a fraction s of the screen
    Alllarge enough to fit all visible contents »
  • The setting for WindowSize changes whenever you resize a window interactively in the front end.
  • On most computer systems, the front end does not allow window sizes below a certain minimum value.
  • The setting for WindowSize specifies the size of the content area of the window, excluding any frame.
  • With WindowSize->Full, a window will be shown full screen on the main monitor where it appears.


open allclose all

Basic Examples  (2)

Create windows of varying size:

Create a window just large enough to fit the contents:

Scope  (1)

Make a window that occupies one-third of the screen width and all of the screen height:

Wolfram Research (1996), WindowSize, Wolfram Language function, (updated 2007).


Wolfram Research (1996), WindowSize, Wolfram Language function, (updated 2007).


Wolfram Language. 1996. "WindowSize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007.


Wolfram Language. (1996). WindowSize. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_windowsize, author="Wolfram Research", title="{WindowSize}", year="2007", howpublished="\url{}", note=[Accessed: 17-June-2024 ]}


@online{reference.wolfram_2024_windowsize, organization={Wolfram Research}, title={WindowSize}, year={2007}, url={}, note=[Accessed: 17-June-2024 ]}