CC calculator