This forum is your guide - most questions have been asked and answered is some form -
A search such as ‘custom calculations’ will get you started to point the way.
With all the docs, videos, tutorials and posts, what particular details do you need to know that is not clear or presents a problem?