There's a Scientific Calculator inside your Web Browser

T
Published in: Google Chrome - Mozilla Firefox

You are probably using the Google search box in your browser as an instant calculator but there’s another calculator in your web browser that also works offline. You may use this inbuilt browser calculator for basic Maths calculations or even for solving complex expressions that involve trigonometry and logarithmic functions.

This calculator can be found under Developer Tools that are now a standard feature of all browsers including Chrome, Firefox and IE.

Math Calculator Your browser can perform calculations, including complex ones

How to Use Browser as a Calculator

In Google Chrome, press Ctrl + Shift + J to access the console. The shortcut is Ctrl + Shift + K for Firefox while in the case of IE, press F12 and then switch to the Console tab.

You can now write any Maths expression at the command prompt (see GIF above) and get an instant answer. Use the UP & DOWN arrow keys to navigate the command history.

If you using Maths functions, remember to append Math to the function name - like Math.sin or Math.log - as shown below. Here are some more tricks for Chrome Dev Tools.

Math.sqrt(512) + Math.pow(2, 6)
Math.log(10000, 10)
Math.floor((Math.random()*100))
Math.sin(45)
📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: Google Chrome - Mozilla Firefox

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
A
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account
G

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube