A calculator is used to perform both basic and complex operations of arithmetic. Modern calculators are more portable than most computers, though most PDAs or mobile phones are comparable in size to handheld calculators and may soon replace them.