For mine, interest starts accruing from the date of purchase for each purchase, except if you pay your new balance in full in the first statement. Generally the bank calculates it on a daily basis.
You should read your account agreement to figure out how your bank calculates this. Mine is here on page 11: https://www.chase.com/content/feed/public/creditcards/cma/Ch...
It is still not fully clear when does the settlement happen? At the end of each month, with a ~1.5% interest applied on the negative balance?
Now you can see that for reasonably well off people credits cards offer a nice interest-free float. For example you make a large purchase of $1000 on January 15, but your statement gets produced on February 10 with a due date of March 4. Et voilà you can pay for that $1000 on March 4 with zero interest.