Out
✖
Out
gives the last result generated.
gives the result before last. %%…% (k times) gives the k previous result.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (2)Survey of the scope of standard use cases

https://wolfram.com/xid/0obog-h00fgh


https://wolfram.com/xid/0obog-5g9rz

Return the most recent and second most recent outputs using % and %%, respectively:

https://wolfram.com/xid/0obog-hfc5cx

Refer to the second and third most recent outputs using the FullForm Out[-n]:

https://wolfram.com/xid/0obog-o96bi2


https://wolfram.com/xid/0obog-kauwvt


https://wolfram.com/xid/0obog-5a5tkw

Refer to the outputs using Out with explicit positive integer arguments:

https://wolfram.com/xid/0obog-3x1t6k

Applications (1)Sample problems that can be solved with this function

https://wolfram.com/xid/0obog-s5phet

https://wolfram.com/xid/0obog-2kcurc


https://wolfram.com/xid/0obog-c70xf9

Evaluate DownValues for Out to see what outputs are stored:

https://wolfram.com/xid/0obog-9awxnt

Do the same by looking at Information for Out:

https://wolfram.com/xid/0obog-5tjqul

Properties & Relations (5)Properties of the function, and connections to other functions
A combinations of n % signs is equivalent to Out[-n]:

https://wolfram.com/xid/0obog-wf5mh0


https://wolfram.com/xid/0obog-1kv8zy

Referencing an output number greater than the total number of outputs returns unevaluated:

https://wolfram.com/xid/0obog-m9vdyh

If $HistoryLength is finite, only the $HistoryLength most recent values of Out will have a value:

https://wolfram.com/xid/0obog-urclvy

The value of $Line corresponds to the numbers in In and Out:

https://wolfram.com/xid/0obog-5t8007


https://wolfram.com/xid/0obog-l80wmu

Wolfram Research (1988), Out, Wolfram Language function, https://reference.wolfram.com/language/ref/Out.html.
Text
Wolfram Research (1988), Out, Wolfram Language function, https://reference.wolfram.com/language/ref/Out.html.
Wolfram Research (1988), Out, Wolfram Language function, https://reference.wolfram.com/language/ref/Out.html.
CMS
Wolfram Language. 1988. "Out." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Out.html.
Wolfram Language. 1988. "Out." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Out.html.
APA
Wolfram Language. (1988). Out. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Out.html
Wolfram Language. (1988). Out. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Out.html
BibTeX
@misc{reference.wolfram_2025_out, author="Wolfram Research", title="{Out}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Out.html}", note=[Accessed: 13-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_out, organization={Wolfram Research}, title={Out}, year={1988}, url={https://reference.wolfram.com/language/ref/Out.html}, note=[Accessed: 13-April-2025
]}