How to use "calculation" in a sentence

Sentences

Then Valjean frowned and, after a quick calculation, decided that Marius was probably still alive