You can perform calculations in cells. You can use a built-in formula, a custom name, or a custom formula function. Users can also enter formulas in cells. SpreadJS also provides a formula text box.
See Using Formulas for more information.