Size before strikes. Set the share of your account you are willing to lose on one position, enter the structure, and this works out how many contracts that allows — then checks what the new position does to everything you already have open.
Worked arithmetic on figures you supply, for education. It is not advice on position sizing, not a recommendation to place any trade, and it cannot know your circumstances. Maximum loss assumes the structure is held to expiry and settles at its worst case; assignment, early exercise, gaps and fees can all make the real outcome worse.