This online calculator has four modes: basic, scientific, programmer and financial. Scientific mode handles trigonometric functions, logarithms and roots. Programmer mode converts numbers between binary, octal, decimal and hexadecimal and runs bit-level operations. Financial mode works out mortgage payments and how a sum grows with compound interest.
The calculator that ships with your operating system usually stops at the basics. If you need the rest, this tool puts them in one place, and every calculation runs in your browser.
Scientific mode: beyond adding and multiplying
The keypad includes sine, cosine and tangent with their inverses, base-10 and natural logarithms, base-2 logarithms, square and cube, square root, powers, factorials, reciprocals, absolute value, π and e. Trigonometric functions use degrees by default, so sin(30) returns 0.5. The DEG/RAD button switches to radians. The mode applies when you press =, so with RAD active, sin(30) returns -0.988.
Programmer mode: thinking in the right number system
Developers work with several number bases and with bit-level operations that a normal calculator doesn't offer. Choose the word size (8, 16 or 32 bits), type a value in the base you want (DEC, HEX, OCT or BIN), and the same number appears in all four bases at once. Switching bases converts the number you've typed.
The available operations are AND, OR, XOR, NOT, << and >> shifts, addition, subtraction and multiplication. Results are cut to the word size you chose. Clicking a bit in the grid flips it, so you can see at a glance which bits are set. The IPv4 button opens a panel with subnet and CIDR conversions.
Financial mode: mortgages and compound interest without a spreadsheet
The financial tabs cover compound interest, mortgage or loan, VAT, ROI and the rule of three. Amounts are shown in euros.
Compound interest asks for the principal, the annual rate, the number of years and how often interest is added (annually, quarterly, monthly or daily). It applies the standard formula A = P(1 + r/n)^(nt), where P is the principal, r the annual rate as a decimal, n the number of compounding periods per year and t the years. For 10,000 at 5% over 10 years, compounded once a year, the tool shows 16288.95 €.
Mortgage or loan asks for the amount, the annual rate and the term in years. The monthly payment uses the fixed-payment formula with a monthly rate equal to the annual rate divided by 12, over years × 12 payments: payment = P·r·(1+r)^n / ((1+r)^n − 1). With the example values the tool suggests (200000 €, 3.5% and 30 years), the monthly payment is 898.09 €, with 323312.18 € paid in total and 123312.18 € of interest. That covers principal and interest only. Insurance, fees and notary costs are not included.
For VAT calculations, the VAT calculator breaks the amounts down separately.
How to use the calculator
- Choose the mode in the left-hand column.
- In basic and scientific mode, type the expression and press
=. In programmer mode, enter a value, pick an operation, enter the second value and press=. In financial mode, fill in the fields; the result updates without pressing anything.
Why having all three modes together matters
A developer who needs to convert a value to hexadecimal to debug code, and minutes later work out how much interest their savings will earn, shouldn't have to switch tools for each task. Keeping everything in one place avoids that context switch, especially when both kinds of calculation come up in the same session.
Frequently asked questions
Can I convert between binary, hexadecimal and octal directly? Yes. Programmer mode shows the value in decimal, hexadecimal, octal and binary at the same time.
What bitwise operations does it include? AND, OR, XOR and NOT, plus left and right shifts. They work on 8, 16 or 32 bits, depending on the width you choose.
Does the mortgage calculation include the full monthly payment? It covers principal and interest only. Insurance, fees and notary costs are not added, so your bank's actual monthly payment can be higher.
Is anything I calculate saved? Nothing is sent to a server. The operation history lives only on the page and is cleared when you reload it.
What currency does the financial mode use? Euros. All amounts show the € symbol.
Do scientific, programmer and financial calculations with this online calculator, or convert number bases with the binary, decimal and hexadecimal guide.