Condition calculator