Dental calculus develops when plaque, a dense bacterial biofilm that accumulates at the base of teeth, is mineralized when calcium and phosphorus in saliva combine to form calcium phosphate. That hardening process locks bacteria into a crystalline matrix similar to bone, entombing and preserving dead microbes for thousands of years.