ChatGPT, like many humans, can be very bad at basic arithmetic and maths. A great way to avoid those mistakes is to ask it to write a code about it then propose that it runs the code. An example here: