Calculator for ingress