Calculator for LOI