Rebuild calculator