An algorithm is a step-by-step procedure for calculations. Algorithms are used for calculation, data processing, and automated reasoning. Related areas Logic | Mathematics | Physics