CINXE.COM

Order of operations - Simple English Wikipedia, the free encyclopedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Order of operations - Simple English Wikipedia, the free encyclopedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )simplewikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"051ba447-0acd-4ea8-9cf0-8fd92e0dd28e","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Order_of_operations","wgTitle":"Order of operations","wgCurRevisionId":9866608,"wgRevisionId":9866608,"wgArticleId":40646,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pages using the JsonConfig extension","Arithmetics"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Order_of_operations","wgRelevantArticleId":40646,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0, "wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":4000,"wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q845118","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready", "skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.refToolbar","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.cite.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Order of operations - Simple English Wikipedia, the free encyclopedia"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//simple.m.wikipedia.org/wiki/Order_of_operations"> <link rel="alternate" type="application/x-wiki" title="change this page" href="/w/index.php?title=Order_of_operations&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//simple.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://simple.wikipedia.org/wiki/Order_of_operations"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.simple"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Order_of_operations rootpage-Order_of_operations skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Getting around </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Simple_start" title="About the project, what you can do, where to find things"><span>Simple start</span></a></li><li id="n-Simple-talk" class="mw-list-item"><a href="/wiki/Wikipedia:Simple_talk"><span>Simple talk</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="The list of new changes in the wiki. [r]" accesskey="r"><span>New changes</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Show any page [x]" accesskey="x"><span>Show any page</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="The place to get help"><span>Help</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//simple.wikipedia.org/wiki/Wikipedia:Contact_us"><span>Contact us</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About"><span>About Wikipedia</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-simple.svg" width="101" height="18" style="width: 6.3125em; height: 1.125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_simple.wikipedia.org&amp;uselang=en" class=""><span>Give to Wikipedia</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Order+of+operations" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Order+of+operations" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_simple.wikipedia.org&amp;uselang=en"><span>Give to Wikipedia</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Order+of+operations" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Order+of+operations" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about changes from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-Rules" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rules"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Rules</span> </div> </a> <button aria-controls="toc-Rules-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Rules subsection</span> </button> <ul id="toc-Rules-sublist" class="vector-toc-list"> <li id="toc-Brackets_and_parentheses" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Brackets_and_parentheses"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Brackets and parentheses</span> </div> </a> <ul id="toc-Brackets_and_parentheses-sublist" class="vector-toc-list"> <li id="toc-Exponents" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Exponents"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.1</span> <span>Exponents</span> </div> </a> <ul id="toc-Exponents-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Multiplication_and_division" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Multiplication_and_division"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Multiplication and division</span> </div> </a> <ul id="toc-Multiplication_and_division-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Addition_and_subtraction" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Addition_and_subtraction"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Addition and subtraction</span> </div> </a> <ul id="toc-Addition_and_subtraction-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Examples_of_all_rules" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Examples_of_all_rules"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Examples of all rules</span> </div> </a> <ul id="toc-Examples_of_all_rules-sublist" class="vector-toc-list"> <li id="toc-Example_one" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Example_one"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4.1</span> <span>Example one</span> </div> </a> <ul id="toc-Example_one-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Example_two" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Example_two"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4.2</span> <span>Example two</span> </div> </a> <ul id="toc-Example_two-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </li> <li id="toc-Acronyms" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Acronyms"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Acronyms</span> </div> </a> <ul id="toc-Acronyms-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Related_pages" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Related_pages"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Related pages</span> </div> </a> <ul id="toc-Related_pages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Order of operations</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 41 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-41" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">41 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%AA%D8%B1%D8%AA%D9%8A%D8%A8_%D8%A7%D9%84%D8%B9%D9%85%D9%84%D9%8A%D8%A7%D8%AA_%D8%A7%D9%84%D8%AD%D8%B3%D8%A7%D8%A8%D9%8A%D8%A9" title="ترتيب العمليات الحسابية – Arabic" lang="ar" hreflang="ar" data-title="ترتيب العمليات الحسابية" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/I%C3%A1n-s%C7%B9g_s%C5%ABn-s%C5%AB" title="Ián-sǹg sūn-sū – Minnan" lang="nan" hreflang="nan" data-title="Ián-sǹg sūn-sū" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/%D0%9F%D1%80%D1%8B%D1%8F%D1%80%D1%8B%D1%82%D1%8D%D1%82_%D0%B0%D1%80%D1%8B%D1%84%D0%BC%D0%B5%D1%82%D1%8B%D1%87%D0%BD%D1%8B%D1%85_%D0%B0%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D1%8B%D0%B9" title="Прыярытэт арыфметычных аперацый – Belarusian" lang="be" hreflang="be" data-title="Прыярытэт арыфметычных аперацый" data-language-autonym="Беларуская" data-language-local-name="Belarusian" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Ordre_de_les_operacions" title="Ordre de les operacions – Catalan" lang="ca" hreflang="ca" data-title="Ordre de les operacions" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Precedence" title="Precedence – Czech" lang="cs" hreflang="cs" data-title="Precedence" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Regnearternes_hierarki" title="Regnearternes hierarki – Danish" lang="da" hreflang="da" data-title="Regnearternes hierarki" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Operatorrangfolge" title="Operatorrangfolge – German" lang="de" hreflang="de" data-title="Operatorrangfolge" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/%CE%A0%CF%81%CE%BF%CF%84%CE%B5%CF%81%CE%B1%CE%B9%CF%8C%CF%84%CE%B7%CF%84%CE%B1_%CF%80%CF%81%CE%AC%CE%BE%CE%B5%CF%89%CE%BD" title="Προτεραιότητα πράξεων – Greek" lang="el" hreflang="el" data-title="Προτεραιότητα πράξεων" data-language-autonym="Ελληνικά" data-language-local-name="Greek" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Order_of_operations" title="Order of operations – English" lang="en" hreflang="en" data-title="Order of operations" data-language-autonym="English" data-language-local-name="English" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Orden_de_evaluaci%C3%B3n" title="Orden de evaluación – Spanish" lang="es" hreflang="es" data-title="Orden de evaluación" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Rango_de_operacioj" title="Rango de operacioj – Esperanto" lang="eo" hreflang="eo" data-title="Rango de operacioj" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Eragiketen_hierarkia" title="Eragiketen hierarkia – Basque" lang="eu" hreflang="eu" data-title="Eragiketen hierarkia" data-language-autonym="Euskara" data-language-local-name="Basque" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%A7%D9%88%D9%84%D9%88%DB%8C%D8%AA_%D8%B9%D9%85%D9%84%DA%AF%D8%B1%D9%87%D8%A7" title="اولویت عملگرها – Persian" lang="fa" hreflang="fa" data-title="اولویت عملگرها" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Ordre_des_op%C3%A9rations" title="Ordre des opérations – French" lang="fr" hreflang="fr" data-title="Ordre des opérations" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Xerarqu%C3%ADa_das_operaci%C3%B3ns" title="Xerarquía das operacións – Galician" lang="gl" hreflang="gl" data-title="Xerarquía das operacións" data-language-autonym="Galego" data-language-local-name="Galician" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%AD%E0%AA%BE%E0%AA%97%E0%AB%81%E0%AA%B8%E0%AA%AC%E0%AA%BE_%E0%AA%A8%E0%AB%8B_%E0%AA%A8%E0%AA%BF%E0%AA%AF%E0%AA%AE" title="ભાગુસબા નો નિયમ – Gujarati" lang="gu" hreflang="gu" data-title="ભાગુસબા નો નિયમ" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%97%B0%EC%82%B0%EC%9D%98_%EC%9A%B0%EC%84%A0%EC%88%9C%EC%9C%84" title="연산의 우선순위 – Korean" lang="ko" hreflang="ko" data-title="연산의 우선순위" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Urutan_operasi" title="Urutan operasi – Indonesian" lang="id" hreflang="id" data-title="Urutan operasi" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Framkv%C3%A6mdar%C3%B6%C3%B0_reiknivirkja" title="Framkvæmdaröð reiknivirkja – Icelandic" lang="is" hreflang="is" data-title="Framkvæmdaröð reiknivirkja" data-language-autonym="Íslenska" data-language-local-name="Icelandic" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Ordine_delle_operazioni" title="Ordine delle operazioni – Italian" lang="it" hreflang="it" data-title="Ordine delle operazioni" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A7%D7%93%D7%99%D7%9E%D7%95%D7%AA_%D7%90%D7%95%D7%A4%D7%A8%D7%98%D7%95%D7%A8%D7%99%D7%9D" title="קדימות אופרטורים – Hebrew" lang="he" hreflang="he" data-title="קדימות אופרטורים" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%95%E0%A4%82%E0%A4%9A%E0%A5%87%E0%A4%AD%E0%A4%BE%E0%A4%97%E0%A5%81%E0%A4%AC%E0%A5%87%E0%A4%B5_%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%BF%E0%A4%AF%E0%A4%BE_%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%AE" title="कंचेभागुबेव क्रिया क्रम – Marathi" lang="mr" hreflang="mr" data-title="कंचेभागुबेव क्रिया क्रम" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Urutan_pengiraan" title="Urutan pengiraan – Malay" lang="ms" hreflang="ms" data-title="Urutan pengiraan" data-language-autonym="Bahasa Melayu" data-language-local-name="Malay" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Bewerkingsvolgorde" title="Bewerkingsvolgorde – Dutch" lang="nl" hreflang="nl" data-title="Bewerkingsvolgorde" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%AE%E5%84%AA%E5%85%88%E9%A0%86%E4%BD%8D" title="演算子の優先順位 – Japanese" lang="ja" hreflang="ja" data-title="演算子の優先順位" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Regnerekkef%C3%B8lge" title="Regnerekkefølge – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Regnerekkefølge" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Kolejno%C5%9B%C4%87_wykonywania_dzia%C5%82a%C5%84" title="Kolejność wykonywania działań – Polish" lang="pl" hreflang="pl" data-title="Kolejność wykonywania działań" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Ordem_de_opera%C3%A7%C3%B5es" title="Ordem de operações – Portuguese" lang="pt" hreflang="pt" data-title="Ordem de operações" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Ordinea_opera%C8%9Biilor" title="Ordinea operațiilor – Romanian" lang="ro" hreflang="ro" data-title="Ordinea operațiilor" data-language-autonym="Română" data-language-local-name="Romanian" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B8%D0%BE%D1%80%D0%B8%D1%82%D0%B5%D1%82_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8" title="Приоритет операции – Russian" lang="ru" hreflang="ru" data-title="Приоритет операции" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/Radha_e_veprimeve_matematikore" title="Radha e veprimeve matematikore – Albanian" lang="sq" hreflang="sq" data-title="Radha e veprimeve matematikore" data-language-autonym="Shqip" data-language-local-name="Albanian" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%A0%D0%B5%D0%B4%D0%BE%D1%81%D0%BB%D0%B5%D0%B4_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%98%D0%B0" title="Редослед операција – Serbian" lang="sr" hreflang="sr" data-title="Редослед операција" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Laskuj%C3%A4rjestys" title="Laskujärjestys – Finnish" lang="fi" hreflang="fi" data-title="Laskujärjestys" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Operatorprioritet" title="Operatorprioritet – Swedish" lang="sv" hreflang="sv" data-title="Operatorprioritet" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-tl mw-list-item"><a href="https://tl.wikipedia.org/wiki/Ayos_ng_operasyon" title="Ayos ng operasyon – Tagalog" lang="tl" hreflang="tl" data-title="Ayos ng operasyon" data-language-autonym="Tagalog" data-language-local-name="Tagalog" class="interlanguage-link-target"><span>Tagalog</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%9A%E0%AF%86%E0%AE%AF%E0%AE%B2%E0%AE%BF%E0%AE%AF%E0%AF%88_%E0%AE%85%E0%AE%AE%E0%AE%B2%E0%AF%8D%E0%AE%AA%E0%AE%9F%E0%AF%81%E0%AE%A4%E0%AF%8D%E0%AE%A4%E0%AF%81%E0%AE%AE%E0%AF%8D_%E0%AE%B5%E0%AE%B0%E0%AE%BF%E0%AE%9A%E0%AF%88_%E0%AE%AE%E0%AF%81%E0%AE%B1%E0%AF%88" title="செயலியை அமல்படுத்தும் வரிசை முறை – Tamil" lang="ta" hreflang="ta" data-title="செயலியை அமல்படுத்தும் வரிசை முறை" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A5%E0%B8%B3%E0%B8%94%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%94%E0%B8%B3%E0%B9%80%E0%B8%99%E0%B8%B4%E0%B8%99%E0%B8%81%E0%B8%B2%E0%B8%A3" title="ลำดับการดำเนินการ – Thai" lang="th" hreflang="th" data-title="ลำดับการดำเนินการ" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/%C4%B0%C5%9Flem_s%C4%B1ras%C4%B1" title="İşlem sırası – Turkish" lang="tr" hreflang="tr" data-title="İşlem sırası" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%A7%D0%B5%D1%80%D0%B3%D0%BE%D0%B2%D1%96%D1%81%D1%82%D1%8C_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D1%96%D0%B9" title="Черговість операцій – Ukrainian" lang="uk" hreflang="uk" data-title="Черговість операцій" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/%C4%90%E1%BB%99_%C6%B0u_ti%C3%AAn_c%E1%BB%A7a_to%C3%A1n_t%E1%BB%AD" title="Độ ưu tiên của toán tử – Vietnamese" lang="vi" hreflang="vi" data-title="Độ ưu tiên của toán tử" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E9%81%8B%E7%AE%97%E6%AC%A1%E5%BA%8F" title="運算次序 – Chinese" lang="zh" hreflang="zh" data-title="運算次序" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q845118#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Change links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Order_of_operations" title="View the content page [c]" accesskey="c"><span>Page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Order_of_operations" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Order_of_operations"><span>Read</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit" title="Edit this page [v]" accesskey="v"><span>Change</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;action=edit" title="Edit the source code of this page [e]" accesskey="e"><span>Change source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Order_of_operations"><span>Read</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit" title="Edit this page [v]" accesskey="v"><span>Change</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;action=edit" title="Edit the source code of this page [e]" accesskey="e"><span>Change source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Order_of_operations" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Order_of_operations" rel="nofollow" title="New changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;oldid=9866608" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&amp;page=Order_of_operations&amp;id=9866608&amp;wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fsimple.wikipedia.org%2Fwiki%2FOrder_of_operations"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fsimple.wikipedia.org%2Fwiki%2FOrder_of_operations"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&amp;bookcmd=book_creator&amp;referer=Order+of+operations"><span>Make a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Order_of_operations&amp;action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Order_of_operations&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Page for printing</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Order_of_operations" hreflang="en"><span>Wikimedia Commons</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q845118" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Simple English Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p>The <b>order of operations</b> is a <a href="/wiki/Mathematics" title="Mathematics">mathematical</a> and <a href="/wiki/Algebra" title="Algebra">algebraic</a> set of rules. It is used to evaluate (solve) and <a href="https://simple.wiktionary.org/wiki/simplify" class="extiw" title="wikt:simplify">simplify</a> <a href="/wiki/Equation" title="Equation">expressions and equations</a>. The order of operations is the order that different mathematical operations are done. The standard mathematical operations are <a href="/wiki/Addition" title="Addition">addition</a> (<b>+</b>), <a href="/wiki/Subtraction" title="Subtraction">subtraction</a> (<b>−</b>), <a href="/wiki/Multiplication" title="Multiplication">multiplication</a> (<b>*</b>, <b>×</b>, <b>·</b> or <b>n</b>), <a href="/wiki/Division_(mathematics)" title="Division (mathematics)">division</a> (<b>/</b>, <b>÷</b>, <b>:</b> or <b><style data-mw-deduplicate="TemplateStyles:r7803981">.mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center}.mw-parser-output .sfrac .num,.mw-parser-output .sfrac .den{display:block;line-height:1em;margin:0 0.1em}.mw-parser-output .sfrac .den{border-top:1px solid}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}</style><span role="math" class="sfrac tion"><span class="num">n</span><span class="sr-only">/</span><span class="den">n</span></span></b>), grouping/parenthesizing/bracketing (<b>()</b>, <b>[]</b> or <b>{}</b>)<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Exponentiation" title="Exponentiation">exponentiation</a> (<b>^</b> or <b>ⁿ</b>),<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-:0_3-0" class="reference"><a href="#cite_note-:0-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> which includes <a href="/wiki/Nth_root" title="Nth root">root extraction</a> (<b>√</b>). </p><p>Mathematicians have agreed on a correct order to use operations, and it is very important that they know these rules. When people are solving a problem with more than one operation, they will need to know the correct order to solve the problem correctly. Otherwise, the answer will be wrong. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Rules">Rules</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=1" title="Change section: Rules" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=1" title="Edit section&#039;s source code: Rules"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Follow all the rules in this order <b>from left to right</b> in the equation. </p> <div class="mw-heading mw-heading3"><h3 id="Brackets_and_parentheses">Brackets and parentheses</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=2" title="Change section: Brackets and parentheses" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=2" title="Edit section&#039;s source code: Brackets and parentheses"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Use operations inside brackets and solve any indices. You should always solve brackets first when solving an equation. </p><p><b>Example</b>: </p> <dl><dd>2 * 4 + (9 - 8) + 3</dd> <dd>2 * 4 + <b>(9 - 8)</b> + 3</dd> <dd>2 * 4 + 1 + 3</dd> <dd><b>2 * 4</b> + 1 + 3</dd> <dd>8 + 1 + 3</dd> <dd><b>8 + 1</b> + 3</dd> <dd>9 + 3</dd> <dd><b>9 + 3</b></dd> <dd>12</dd></dl> <div class="mw-heading mw-heading4"><h4 id="Exponents">Exponents</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=3" title="Change section: Exponents" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=3" title="Edit section&#039;s source code: Exponents"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>When seeing an exponent, solve it first after solving the brackets. (5<sup>3</sup> = 5 * 5 * 5 = 125) </p><p><b>Example</b>: </p> <dl><dd>5<sup>3</sup> * 7 + 4</dd> <dd><b>5<sup>3</sup></b> * 7 + 4</dd> <dd>125 * 7 + 4</dd> <dd><b>125 * 7</b> + 4</dd> <dd>875 + 4</dd> <dd><b>875 + 4</b></dd> <dd>879</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Multiplication_and_division">Multiplication and division</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=4" title="Change section: Multiplication and division" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=4" title="Edit section&#039;s source code: Multiplication and division"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Solve any multiplication and division in the problem. Note that multiplication does not precede division; this is a common mistake. Both are solved from left to right as they occur. </p><p><b>Example</b>: </p> <dl><dd>5 * 4 - 9 / 3</dd> <dd><b>5 * 4</b> - 9 / 3</dd> <dd>20 - 9 / 3</dd> <dd>20 - <b>9 / 3</b></dd> <dd>20 - 3</dd> <dd><b>20 - 3</b></dd> <dd>17</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Addition_and_subtraction">Addition and subtraction</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=5" title="Change section: Addition and subtraction" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=5" title="Edit section&#039;s source code: Addition and subtraction"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Lastly, solve any addition or subtraction. It always goes from left to right. </p><p><b>Example</b>: </p> <dl><dd>10 - 9 + 4</dd> <dd><b>10 - 9</b> + 4</dd> <dd>1 + 4</dd> <dd><b>1 + 4</b></dd> <dd>5</dd></dl> <div class="mw-heading mw-heading3"><h3 id="Examples_of_all_rules">Examples of all rules</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=6" title="Change section: Examples of all rules" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=6" title="Edit section&#039;s source code: Examples of all rules"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading4"><h4 id="Example_one">Example one</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=7" title="Change section: Example one" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=7" title="Edit section&#039;s source code: Example one"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dd>(1 + 8) * (4 - 1) + 16 / 2<sup>3</sup></dd> <dd><b>(1 + 8)</b> * (4 - 1) + 16 / 2<sup>3</sup></dd> <dd>9 * <b>(4 - 1)</b> + 16 / 2<sup>3</sup></dd> <dd>9 * 3 + 16 / <b>2<sup>3</sup></b></dd> <dd>9 * 3 + 16 / 8</dd> <dd><b>9 * 3</b> + 16 / 8</dd> <dd>27 + <b>16 / 8</b></dd> <dd>27 + 2</dd> <dd><b>27 + 2</b></dd> <dd><b>29</b></dd></dl> <div class="mw-heading mw-heading4"><h4 id="Example_two">Example two</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=8" title="Change section: Example two" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=8" title="Edit section&#039;s source code: Example two"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <dl><dd>(7 + 3) * (6 - 3) + 216 / 3<sup>3</sup></dd> <dd><b>(7 + 3)</b> * (6 - 3) + 216 / 3<sup>3</sup></dd> <dd>10 * <b>(6 - 3)</b> + 216 / 3<sup>3</sup></dd> <dd>10 * 3 + 216 / <b>3<sup>3</sup></b></dd> <dd>10 * 3 + 216 / 27</dd> <dd><b>10 * 3</b> + 216 / 27</dd> <dd>30 + <b>216 / 27</b></dd> <dd>30 + 8</dd> <dd><b>30 + 8</b></dd> <dd>38</dd></dl> <div class="mw-heading mw-heading2"><h2 id="Acronyms">Acronyms</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=9" title="Change section: Acronyms" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=9" title="Edit section&#039;s source code: Acronyms"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The acronym for the order of standard operations is GEMDAS/PEMDAS/BOMDAS/BIMDAS, which stands for Grouping/Parenthesization/Bracketing, Exponentation, Multiplication, Division, Addition and Subtraction.<sup id="cite_ref-:0_3-1" class="reference"><a href="#cite_note-:0-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> </p><p>When solving 8 - 7 + 5, some people say that 7 + 5 must take precedence, but this is incorrect. Instead, one should look from left to right to find the correct answer. This rule also applies to multiplication and division. </p> <div class="mw-heading mw-heading2"><h2 id="Related_pages">Related pages</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=10" title="Change section: Related pages" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=10" title="Edit section&#039;s source code: Related pages"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Associativity" title="Associativity">Associativity</a></li> <li><a href="/wiki/Commutative_property" title="Commutative property">Commutativity</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Order_of_operations&amp;veaction=edit&amp;section=11" title="Change section: References" class="mw-editsection-visualeditor"><span>change</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Order_of_operations&amp;action=edit&amp;section=11" title="Edit section&#039;s source code: References"><span>change source</span></a><span class="mw-editsection-bracket">]</span></span></div> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r9724332">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://mathvault.ca/hub/higher-math/math-symbols/">"Compendium of Mathematical Symbols"</a>. <i>Math Vault</i>. 2020-03-01<span class="reference-accessdate">. Retrieved <span class="nowrap">2020-08-22</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=Math+Vault&amp;rft.atitle=Compendium+of+Mathematical+Symbols&amp;rft.date=2020-03-01&amp;rft_id=https%3A%2F%2Fmathvault.ca%2Fhub%2Fhigher-math%2Fmath-symbols%2F&amp;rfr_id=info%3Asid%2Fsimple.wikipedia.org%3AOrder+of+operations" class="Z3988"></span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r9724332"><cite id="CITEREFWeisstein" class="citation web cs1">Weisstein, Eric W. <a rel="nofollow" class="external text" href="https://mathworld.wolfram.com/Precedence.html">"Precedence"</a>. <i>mathworld.wolfram.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2020-08-22</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=mathworld.wolfram.com&amp;rft.atitle=Precedence&amp;rft.aulast=Weisstein&amp;rft.aufirst=Eric+W.&amp;rft_id=https%3A%2F%2Fmathworld.wolfram.com%2FPrecedence.html&amp;rfr_id=info%3Asid%2Fsimple.wikipedia.org%3AOrder+of+operations" class="Z3988"></span></span> </li> <li id="cite_note-:0-3"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-:0_3-0">3.0</a></sup> <sup><a href="#cite_ref-:0_3-1">3.1</a></sup></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r9724332"><cite id="CITEREFStapel" class="citation web cs1">Stapel, Elizabeth. <a rel="nofollow" class="external text" href="https://www.purplemath.com/modules/orderops.htm">"The Order of Operations: PEMDAS"</a>. <i>Purplemath</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2020-08-22</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=Purplemath&amp;rft.atitle=The+Order+of+Operations%3A+PEMDAS&amp;rft.aulast=Stapel&amp;rft.aufirst=Elizabeth&amp;rft_id=https%3A%2F%2Fwww.purplemath.com%2Fmodules%2Forderops.htm&amp;rfr_id=info%3Asid%2Fsimple.wikipedia.org%3AOrder+of+operations" class="Z3988"></span></span> </li> </ol> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐754b497994‐blp2s Cached time: 20241105200509 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.098 seconds Real time usage: 0.123 seconds Preprocessor visited node count: 204/1000000 Post‐expand include size: 4243/2097152 bytes Template argument size: 3/2097152 bytes Highest expansion depth: 6/100 Expensive parser function count: 1/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 10475/5000000 bytes Lua time usage: 0.059/10.000 seconds Lua memory usage: 3033971/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 106.173 1 -total 77.53% 82.314 3 Template:Cite_web 19.27% 20.459 1 Template:Sfrac --> <!-- Saved in parser cache with key simplewiki:pcache:idhash:40646-0!canonical and timestamp 20241105200509 and revision id 9866608. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://simple.wikipedia.org/w/index.php?title=Order_of_operations&amp;oldid=9866608">https://simple.wikipedia.org/w/index.php?title=Order_of_operations&amp;oldid=9866608</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Arithmetics" title="Category:Arithmetics">Arithmetics</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden category: <ul><li><a href="/wiki/Category:Pages_using_the_JsonConfig_extension" title="Category:Pages using the JsonConfig extension">Pages using the JsonConfig extension</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last changed on 5 November 2024, at 20:04.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a> and the <a href="/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License" title="Wikipedia:Text of the GNU Free Documentation License">GFDL</a>; additional terms may apply. See <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> for details.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/simple.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//simple.m.wikipedia.org/w/index.php?title=Order_of_operations&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-7fc47fc68d-97hnr","wgBackendResponseTime":195,"wgPageParseReport":{"limitreport":{"cputime":"0.098","walltime":"0.123","ppvisitednodes":{"value":204,"limit":1000000},"postexpandincludesize":{"value":4243,"limit":2097152},"templateargumentsize":{"value":3,"limit":2097152},"expansiondepth":{"value":6,"limit":100},"expensivefunctioncount":{"value":1,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":10475,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 106.173 1 -total"," 77.53% 82.314 3 Template:Cite_web"," 19.27% 20.459 1 Template:Sfrac"]},"scribunto":{"limitreport-timeusage":{"value":"0.059","limit":"10.000"},"limitreport-memusage":{"value":3033971,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-754b497994-blp2s","timestamp":"20241105200509","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Order of operations","url":"https:\/\/simple.wikipedia.org\/wiki\/Order_of_operations","sameAs":"http:\/\/www.wikidata.org\/entity\/Q845118","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q845118","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2006-10-29T18:32:53Z","dateModified":"2024-11-05T20:04:20Z","headline":"performing order of mathematical operations"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10