Years ago, dive tables were the only option. At this point, the majority of divers wear a wrist-mount computer and for good reason.
Your computer calculates depth, bottom time, ascent rate, and no-deco limits in https://joanwfdi102085.wikinstructions.com/user