In general do not ask a language model to do arithmetic. They are very bad at it. ChatGPT is probably actually one of the most impressive in this regard but that still doesn't mean it can deal with numbers well. They are good at parsing formulae though, which is not the same.