There’s no perfect answer like so many other things in life because personal finance is personal. However, you can use some essential criteria as a guide.
A magic formula to calculate the number of credit cards you need doesn’t exist. Credit cards have many benefits like cashback, travel points, and building credit.