The formula for engagement in Google 4 goes like this:
Engagement rate = (Sessions with Engagement) / Total Sessions within a specific period
Again, a session counts as engaged if it lasts for more than 10 seconds, records at least two screenviews, or at least one conversion event.