Commission calculation logic simply means on which amount of the order you want to pay commission to your affiliates.
You can also decide if you want to pay commission on total order value or total order value excluding shipping and taxes or including them or excluding and including any of them.
These calculation logics are under Advanced options on ‘Add new’ commission rule page.
These logics are self-explanatory. Choose any calculation logic which you prefer!