Really depends what you're doing.
A lot of coding is really applied algebra, especially if you head off into the formal verification arena where you're not just writing code but proving that it is mathematically correct. Calculus has a place in certani branches of coding too but... honestly... it doesn't come up that often in some industries.
For example I do web development as a day job. The number of times I've needed algebra to a standard where you'd be getting university credit for it... maybe twice in my entire career. That said, having them as a foundation for understanding actual computer science (e.g. Dijkstra's algorithm, or Prim's algorithm, sorting algorithms) is useful but again... number of times these have come up in my professional career is currently... twice.
If I were in other fields - e.g. game dev, I'd need to know some of these a whole lot more, and calculus would be more useful. If you're doing 3D game dev in particular you really want to have some good basis in geometry, trigonometry and related fields (e.g. understanding quaternions)