Calorie calculators are never accurate. They give you a general idea of a starting point but everyone's metabolism and activity levels are different. If you gained weight that fast, either the calculator overestimated how much you need to eat, or you didn't track your calories accurately, or maybe both.
What you need to do next time you want to increase you weight, is track your weight for a week or two and see what happens. If it goes up too fast, eat a little less. If you're happy with the result, keep eating the same. If your weight hasn't moved at all, eat a little more. Then you learn what your food requirements are and don't need those calorie calculators anymore.