AddUp

A multi-purpose calculator

Basic Calculations

Basic arithmetic operations with AddUp are done by entering numbers and operators to form the expression to evaluate. The expression can be typed in and edited at will, then pressing the Enter key causes it to be evaluated. There is no need to use buttons with this calculator, everything that needs to be evaluated can be directly entered in the work area.

basic calculator

The basic arithmetic operators are:

Other frequently-used operators are:

Parentheses can also be used to nest sub-expressions. For example:
1 + (2 * 3) = 1 + 6 = 7
(1 + 2) * 3 = 3 * 3 = 9

Download AddUp from Simtel

Binary Calculations

Binary calculations are performed by specifying a base-2 prefix for such numbers. Indeed, AddUp reads numbers expressed in any number base from 2 to 36. A number is in a base other than 10 when it is prefixed by its base value and a single quote. Base-8 (octal) numbers use a 8' prefix, base-16 (hexadecimal) numbers use an 16' prefix, base-3 numbers use a 3' prefix, and so on. For binary (base-2) numbers, this means using a 2' prefix before the number. So binary number 11111111 (decimal 255) is written as 2'11111111 while binary 10010110 (decimal 150) is written as 2'10010110.
binary calculator

Output of all AddUp calculations is given in decimal unless specified otherwise. To explicitly ask for binary output, start an expression with a prefix similar to what is used in front of binary numbers: use '2 at the start of the line. Notice how the quote is on the left side of the requested output base. This line prefix must be followed by a space to separate it from the expression to evaluate. The expression to evaluate could either contain all binary numbers or a mixture of numbers in various numeric bases, but the result will be presented in the number base that the line prefix specifies. The default base-10 applies when no base is specified.

Complex Number Operations

Numbers can be classified in many ways. One way is to use a natural "gradation" from the more concrete to the more abstract types. For example: To represent a complex number with AddUp, parentheses are used to hold a list of two real numbers (a pair). The so-called "real" component is first in the list; the so-called "imaginary" component is second. A semi-colon separates both items in the list. For example, complex number "(1; 2)" has a real component with a value of 1 and an imaginary component with a value of 2.

Operations on complex numbers are done with AddUp in exactly the same way as operations on real numbers. The complex number is simple entered wherever a real number could also be used. For example, multiplying two complex numbers is done with an expression such as "(1; 2) * (3; 4)".

complex number calculator

A set of complex number functions is implemented in AddUp to explicitly take advantage of these values. They are:

Conversions

It is easy to convert units with AddUp. All you need to know is units you want to convert from, the unit you want to convert to, and the fact that the -> conversion operator is there for you. Convert one unit into another by typing a number and its unit, followed by the conversion operator, followed by the unit you wish to convert into. ALternatively, you can use the "convert" function to get the same result. The following table shows only a few possible examples, there are many more. Refer to the Units and Conversions section of the reference for details.
Conversion to perform AddUp expressions Result
Convert acres to hectares 10 acre -> hectare
convert(10; acre; hectare)
4.04686
Convert BTUs to calories 100 BTU -> cal
convert(100; BTU; cal)
25,199.58
Convert calories to BTUs 100 cal -> BTU
convert(100; cal; BTU)
0.39683
Convert Celsius to Fahrenheit 100 C -> F
convert(100; C; F)
212
Convert days to years 1001 dy -> yr
convert(1001; day; year)
2.74064
Convert degrees to radians 90 deg -> rad
convert(100; deg; rad)
1.5708
Convert Fahrenheit to Celsius 32 F -> C
convert(21; F; C)
0
Convert feet to meters 5 foot -> meter
convert(5; foot; meter)
1.524
Convert grams to ounces 25 gram -> oz
convert(25; gram; oz)
0.88185
Convert hectares to acres 10 hectare -> acre
convert(10; hectare; acre)
24.71054
Convert horsepowers to watts 15 hp -> watt
convert(15; hp; watt)
11,190
Convert imperial gallons to liters 2 gallon -> liter
convert(2; gallon; liter)
9.09218
Convert kilograms to pounds 8 kg -> lb
convert(8; kg; lb)
17.63698
Convert kilometers to miles 50 km -> mile
convert(50; km; mile)
31.06856
Convert kilometers per hour to miles per hour 100 kmh -> mph
convert(100; kmh; mph)
62.13712
Convert liters to imperial gallons 4 liter -> gallon
convert(4; liter; gallon)
0.87988
Convert meters to feet 5 meter -> foot
convert(5; meter; foot)
16.4042
Convert miles to kilometers 50 mile -> km
convert(50; mile; km)
80.4672
Convert miles per hour to kilometers per hour 55 mpg -> kmh
convert(55; mph; kmh)
88.51392
Convert newtons to pound force 10 newton -> lbf
convert(10; newton; lbf)
2.24809
Convert ounces to grams 25 oz -> gram
convert(25; oz; gram)
708.73808
Convert pascals to PSI 20 pascal -> psi
convert(20; pascal; psi)
0.0029
Convert pound force to newtons 10 lbf -> newton
convert(10; lbf; newton)
44.48222
Convert pounds to kilograms 20 lb -> kg
convert(20; kg; lb)
44.09245
Convert PSI to pascals 20 psi -> pascal
convert(20; psi; pascal)
137,895.15
Convert radians to degrees pi/2 rad -> deg
convert(pi/2; rad; deg)
90
Convert watts to horsepowers 1000 watt -> hp
convert(1000; watt; hp)
1.34048
Convert years to days 5 yr -> dy
convert(5; year; day)
1,826.2125

Find AddUp at Download.com

Financial Calculations

Financial operations are performed with AddUp by entering the financial annuity function to evaluate. A short expression can be typed in and edited at will, then the Enter key causes it to be evaluated. It is not necessary to use buttons for this, what needs to be evaluated can be directly entered in the work area. There are five financial annuity functions: The most suitable output format for operations that return an amount (fv, pv and pmt) is naturally currency. A better format for annual rates and durations is the common automatic format. Select the desired option from the Output Format menu.

Financial functions can be used to calculate annuities that cover any conceivable time period so it is necessary to provide a time unit (otherwise values default to seconds). In the simpler cases, annuity functions require three or four parameters and they are calculated using monthly compounding periods.

Using function fv, we can calculate the future value of a thousand dollars invested for 1 year (either "year" or "yr" can be used as a time unit) at five percent yields 1,051.16 dollars. A time unit must be given, but it can be "month" or "mo" instead or a year, or even "wk" or "dy" if this is what is needed.

Function pv gives the present value. We can calculate the present value of a thousand dollars to be 932.58 if it will be received one year from now given a seven percent annual interest rate.

The pmt (payment) function determines the required regular payment that must be made in order to turn a specified initial value into another after a specified amount of time under a given interest rate. Payments are assumed to be made monthly unless specified otherwise (see below). Here we see that given a five percent interest rate, we can accumulate a thousand dollars starting from zero after a year if we make payments of 81.44 each month. financial calculator
The duration of an annuity investment that will turn one amount into another under a specified interest rate is obtained with the dur function. Since time is expressed in seconds, the result is then converted in the desired time unit (usually either day, week, month or year) by adding the conversion operator and the desired unit. We can see that it takes ten years to double a thousand dollars given 7% interest rate.

The rate function gives the interest rate required to turn one amount into another in the specified amount of time. Doubling a thousand dollars within a year would require a 71% interest rate (0.71356). Good luck finding this!

The above financial calculations assume the most common case of monthly periods for both payments and compounding interest. But there are many more possibilities. Interest could be compounded semi-annually. Payments could be made weekly or bi-weekly and either at the begining or at the end of this payment period. Durations could be expressed in months instead of years, and so on. The same five financial annuity functions can handle all these special cases just by using more parameters. When longer expressions are needed, you can select the Financial Annuity panel from the menu in order to use buttons. The advantage of using buttons is that they fill in a set of default values for you in the work area and you can then simply edit the content. This saves a good deal of typing and it provides a reminder of what each parameter stands for.

financial calculator

Clicking the fv button loads the work area with its namesake function. Default parameters are also written except for the initial (present) value. The default duration is one year, annual interest rate is 5%, compounding period in monthly. Two more parameters refer to the regular annuity payment amount and period; these values are set to zero for the amount and the payment period is a month. Using these default values on a thousand dollars gives a formula of fv(1000; 1 year; 5%; month; 0; month). This is equivalent to just fv(1000; 1 year; 5%) as previously used and a 1,051.16 result is obtained as before.

Changing the amount and the default values is simple. Using 5000 as initial value, a duration of 18 months and a payment of 100 each month, we have fv(5000; 18 mo; 5%; month; 100; month) which yields 7,253.77. The same 5000 present value for a year, supplemented with weekly deposits of 100 is expressed with fv(5000; 1 year; 5%; month; 100; wk): we have 10,614.86 by the end of the year.

The other financial calculator buttons provide similar functionality. Default parameters that are relevant to each function are filled in. One final parameter that is rarely used in omitted: a final argument value of 1 can be tagged in to indicate that payments take place at the begining of a payment period instead of at the end (the default case). Refer to the AddUp documentation for details on all financial functions and their parameters.

Hexadecimal Calculations

Hexadecimal calculations are done by specifying a base-16 prefix for such numbers. Indeed, AddUp reads numbers expressed in any number base from 2 to 36. A number is in a base other than 10 when it is prefixed by its base value and a single quote. Base-2 (binary) numbers use a 2' prefix, base-8 (octal) numbers use an 8' prefix, base-3 numbers use a 3' prefix, and so on. For hexadecimal (base-16) numbers, this means using a 16' prefix before the number. So hexadecimal number FF (decimal 255) is written as 16'FF while hexadecimal 7C (decimal 123) is written as 16'7C.
hexadecimal calculator

Output of all AddUp calculations is given in decimal unless specified otherwise. To explicitly ask for hexadecimal output, start an expression with a prefix similar to what is used in front of hexadecimal numbers: use '16 at the start of the line. Notice how the quote is on the left side of the requested output base. This line prefix must be followed by a space to separate it from the expression to evaluate. The expression to evaluate could either contain all hexadecimal numbers or a mixture of numbers in various numeric bases, but the result will be presented in the number base that the line prefix specifies. The default base-10 applies when no base is specified.

Download AddUp from Simtel

Number Base Calculations

AddUp reads numbers expressed in any number base from 2 to 36. Expressing a number in a numeric base other than 10 are done by specifying a base prefix for the number. This prefix consists of the base value plus a single quote. Base-2 (binary) numbers use a 2' prefix, base-3 numbers use a 3' prefix, base-4 numbers use a 4' prefix, and so on. For base-10 (decimal) numbers, this could mean using a 10' prefix before the number; this is redundant since base-10 is assumed unless a different one is specified, but it is allowed.

Here are examples of numbers expressed using various number bases in AddUp 2.

Calculations can also involve numbers expressed in any number base. It is possible to include numbers expressed in different numeric bases within the same calculation using AddUp's prefix notation. Furthermore, the use of number bases are not restricted to integer values. All numeric formats support all numeric bases: integers, fixed-point, scientific, rational, etc.
numeric base calculator

Since number bases can be mixed at will within an expression, it becomes necessary to determine which base will be used to express the final result. The output of all AddUp calculations is produced in base-10 decimal unless specified otherwise. To show a result in another number base, start an expression with a prefix similar to what is used in front of numbers: start the line with a single quote and then the number of the base. Notice that the quote is on the left side of the requested output base now. This line prefix must be followed by a space to separate it from the expression to evaluate. The expression itself could contain all base-12, or all binary, or all octal numbers, or a mixture of numbers in various numeric bases. But the result will be presented in the number base that is specified by the line prefix. The default base-10 applies if a base is not specified.

Converting numbers from one base to another is easily done. Start the line with a prefix that indicates the desired output base: a single quote, the desired output base value and a separating space. Then write the number that will be converted using any desired numeric base. For example, enter '16 2'10010110 to obtain the hexadecimal (base-16) representation of binary (base-2) number 10010110, which will be expressed as 16'96. You can press Enter again from the result line to convert this hexadecimal value to decimal. Since base-10 is the default, the conversion will be automatic and produce number 150 in normal base-10 if no other base is given.

Octal Calculations

Octal calculations are done by specifying a base-8 prefix for such numbers. Indeed, AddUp reads numbers expressed in any number base from 2 to 36. A number is in a base other than 10 when it is prefixed by its base value and a single quote. Base-2 (binary) numbers use a 2' prefix, base-16 (hexadecimal) numbers use an 16' prefix, base-3 numbers use a 3' prefix, and so on. For octal (base-8) numbers, this means using a 8' prefix before the number. So octal number 377 (decimal 255) is written as 8'377 while octal 123 (decimal 173) is written as 8'123.
octal calculator

Output of all AddUp calculations is given in decimal unless specified otherwise. To explicitly ask for octal output, start an expression with a prefix similar to what is used in front of octal numbers: use '8 at the start of the line. Notice how the quote is on the left side of the requested output base. This line prefix must be followed by a space to separate it from the expression to evaluate. The expression to evaluate could either contain all octal numbers or a mixture of numbers in various numeric bases, but the result will be presented in the number base that the line prefix specifies. The default base-10 applies when no base is specified.

Find AddUp at Download.com

Prime Number Calculations

A prime number is a positive integer greater than 1 that can be divided without a remainder only by 1 and by itself. The list of prime numbers start with: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29... This list is infinite.

Essentially, a prime number calculator can determine if a number is prime or not. It may also be able to find the next prime number after and/or before a specific value. AddUp uses three prime number functions to implement these facilities:

prime number calculator

Since determining with certainty if a number is prime can be an extremely long process, AddUp has a limit on values that can be examined with these functions (which is still reasonably high).

Rational and Fractional Calculations

Calculations that involve fractions are commonly done with decimal notation, eg. "2.5" to mean two and half. But notation such as "2 1/2" is also supported by AddUp 2 and it is recognized to mean the same thing. There is nothing special to do when entering calculations with this format, as long as it is not ambiguous. For example, you can calculate "2 1/2 * 2" and obtain the result 5, as expected.

The format of the output however is controlled by the current output settings. AddUp offers seven different output formats, including rational and fractional formats. The difference between these is that rational results are given as the ratio of two integer values even if the denominator is greater than the numerator (eg. 3/2) while fractional numbers are given with a whole portion if possible, followed by a fraction where the numerator is smaller than the denominator (eg. 1 1/2). This last format will not show any fraction at all if the numerator is zero.

fractional calculator

It is important to realize that although results will be shown as an exact fraction, this fraction is simply the best possible approximation of the result given the specified number of decimals used in the fraction. In many cases this fractional result will be exact and correct. But in the case of irrational numbers (such as mathematical constants 'e' or 'pi') then of course the rational value will be an approximation. The value of 'pi' is 3.1415926535897... Using rational output mode this value will be rounded to 22/7 if a single decimal is specified in the format settings. The ratio will be 355/113, a closer approximation, if three decimals are specified instead.

Scientific Calculations

Scientific calculations with AddUp are performed by entering complex series of numbers and operators to form the expression to evaluate, as well as various math functions. The expression can be typed in and edited at will, then pressing the Enter key causes it to be evaluated. There is no need to use buttons with this calculator, everything that needs to be evaluated can be directly entered in the work area.
scientific calculator

Available mathematical operators are:

Parentheses can also be used to nest sub-expressions. For example:
1 + (2 * 3) = 1 + 6 = 7
(1 + 2) * 3 = 3 * 3 = 9

Scientific functions are numerous. They include the mathematical functions that are normally found on a scientific calculator: square root, cubic root, power, exponent, logarithm (in various bases), factorial, etc.

Trigonometric functions are included: sine, cosine, tangent, cotangent, secant and cosecant. As well, inverse trigonometric functions are included: arc-sine, arc-cosine, arc-tangent, arc-cotangent, arc-secant and arc-cosecant.

Akin to trigonometric functions, hyperbolic functions are also provided: hyperbolic sine, hyperbolic cosine, hyperbolic tangent, hyperbolic cotangent, hyperbolic secant and hyperbolic cosecant. As well, inverse hyperbolic functions are included: hyperbolic arc-sine, hyperbolic arc-cosine, hyperbolic arc-tangent, hyperbolic arc-cotangent, hyperbolic arc-secant and hyperbolic arc-cosecant.

For more advanced math and engineering, complex numbers are natively supported. Complex number functions include: real and imaginary extractors, polar conversion, argument (or phase angle), complex conjugate, norm (or magnitude) and square of the norm. Complex numbers can be used directly in most operations where they would normally apply.

More basic arithmetic functions include: absolute value, inverse, modulo and remainder functions, percent and signum.

Statistical Calculations

Statistical operations with AddUp are performed with a set of functions that apply to a list of numbers or arbitrary length. Statistical functions provide summary information on the content of the list. Each function accepts a lists of arguments containing as many numbers as needed to represent a group under statistical study.
statistical calculator

Statistical functions include:

avg or mean
Returns the average (or mean) of a list of values. It returns 0 on an empty list, or the average value if the list is not empty. The average or mean is the sum of all values in a list divided by the item count.
avgG
Returns the geometric average of a list of values. It returns 0 on an empty list, or the geometric average value if the list is not empty. The geometric average of a list of values is the result of adding the square of all values (eg. using the sum2 function) and extracting the 'count' root of this sum.
count
Returns the count of values in a list (the total number of items). It returns 0 on an empty list, or the number of arguments if the list is not empty.
gcd or gcf
Returns the greatest common denominator (greatest common factor) of all values in a list. It returns 0 on an empty list, or the greatest common denominator of all values if the list is not empty.
lcm
Returns the least common multiple of all values in a list. It returns 0 on an empty list, or the least common multiple of all values if the list is not empty.
max
Returns the maximum value contained in a list. It returns 0 on an empty list, or the value of the largest argument if the list is not empty.
median
Returns the median of a list of values. It returns 0 on an empty list, or the median value if the list is not empty. The median value is the value that is at the center position of a list after it is sorted. For lists containing an even number of values, it is the average of the values found at the two middle positions.
min
Returns the minimum value contained in a list. It returns 0 on an empty list, or the value of the smallest argument if the list is not empty.
prod
Returns the product of all values contained in a list. It returns 0 on an empty list, or the product of all values if the list is not empty.
sd
Returns the sample standard deviation of a list of values. It returns 0 on an empty list, or the sample standard deviation if the list is not empty.
sdP
Returns the population standard deviation of a list of values. It returns 0 on an empty list, or the population standard deviation if the list is not empty.
sum
Returns the sum of all values contained in a list. It returns 0 on an empty list, or the sum of all values if the list is not empty.
sum2
Returns the sum of the square of all values contained in a list. It returns 0 on an empty list, or the sum of the square of all values if the list is not empty.
var
Returns the sample variance of a list of values. It returns 0 on an empty list, or the sample variance if the list is not empty.
varP
Returns the population variance of a list of values.It returns 0 on an empty list, or the population variance if the list is not empty.

Calculator.ws WebSamba