Where can I find examples and guidance on drafting an algorithm? This is not for patenting the algorithm as such, which I believe must be attached to hardware. This has more to do with the procedure to be followed for calibrating an apparatus. If you claim this procedure in a separate claim how much detail must you give. Say for instance the first two steps is really the uniqueness of the procedure, the rest is mere mathematical calculation, do you have to give details of the mathematical calculation? The mathematical calculation is discussed in the body of the specification. Is there a difference between an algorithm and procedure?