A simple sar calculator