Calculator for MATE