AccuracyGoal
✖
AccuracyGoal
is an option for various numerical operations which specifies how many effective digits of accuracy should be sought in the final result.
Details

- AccuracyGoal is an option for such functions as NIntegrate, NDSolve, and FindRoot.
- AccuracyGoal->Automatic normally yields an accuracy goal equal to half the setting for WorkingPrecision.
- AccuracyGoal->Infinity specifies that accuracy should not be used as the criterion for terminating the numerical procedure. PrecisionGoal is typically used in this case.
- Even though you may specify AccuracyGoal->n, the results you get may sometimes have much less than n‐digit accuracy.
- In most cases, you must set WorkingPrecision to be at least as large as AccuracyGoal.
- AccuracyGoal effectively specifies the absolute error allowed in a numerical procedure.
- With AccuracyGoal->a and PrecisionGoal->p, the Wolfram Language attempts to make the numerical error in a result of size
be less than
.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Approximate a numerical integral to at least 8 digits of accuracy:

https://wolfram.com/xid/09byxyt36-gn6dr6

Use precision (relative error) as the basis for error control in solving an ODE:

https://wolfram.com/xid/09byxyt36-cm9ras


https://wolfram.com/xid/09byxyt36-bz7zbd

https://wolfram.com/xid/09byxyt36-m7d68x

Without specifying the AccuracyGoal, the relative error is much larger:

https://wolfram.com/xid/09byxyt36-bgbxwg

Scope (2)Survey of the scope of standard use cases
Find a minimum with convergence criteria and
:

https://wolfram.com/xid/09byxyt36-4me3t

https://wolfram.com/xid/09byxyt36-05x0hq

Use convergence criteria and
:

https://wolfram.com/xid/09byxyt36-hr5egj

Use convergence criteria and
not possible at machine precision:

https://wolfram.com/xid/09byxyt36-cr7e7f


Use a higher working precision to allow convergence:

https://wolfram.com/xid/09byxyt36-vxc4p

Solve a differential equation using high-precision arithmetic:

https://wolfram.com/xid/09byxyt36-kp2vn2


https://wolfram.com/xid/09byxyt36-jlz4gu

Use AccuracyGoal and PrecisionGoal at half the 32-digit working precision:

https://wolfram.com/xid/09byxyt36-fu2mbl

This corresponds to the automatic setting used by NDSolve:

https://wolfram.com/xid/09byxyt36-ipsbla

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