The shell does not have any arithmetic features built in and so you have to use the expr command.
Details are in the expr manual page.
The Copyright for the UNIXhelp deliverables rests with the Computing Services of the University of Edinburgh. The deliverables may be reproduced and used freely for non-commercial purposes, provided that this and any other copyright notices are reproduced therein. If you need other computer-related help, check out our Computing Resources Page .