How to calculate battery life time for any project with Mkr zero?

How to calculate battery life time for any project ?
(for example : I'm using Mkr zero and battery 2800Mah and 3 sensors 3.3v)