Is Physics Important for Becoming a Programmer?

August 21, 2026 4 answers
Asked by MellowPine47
I'm a high school student who hopes to become a programmer, but I'm struggling with physics. I enjoy algebra, chemistry, calculus, logical reasoning, and solving problems, yet physics and graphs feel stressful and unintuitive. I've tried to appreciate physics, but each time I think I understand it, a new concept makes me feel lost. I'm worried that physics might be essential for programming and that struggling with it means I'm not suited for a programming career. How important is physics in practice? Should I keep working at it, or consider a different career path?

Answers

CopperLark8
For most programming careers, physics is barely relevant. Web development, business software, mobile apps, databases, and many other areas usually require little more than basic math. Physics becomes much more important in specialized fields such as game physics, robotics, embedded systems, computer graphics, simulations, or scientific computing. You donโ€™t need to decide your entire career based on one high school subject. Try programming a few different kinds of projects and see what you enjoy.
Reply to this answer
QuietMarble52
Physics itself probably isnโ€™t the key skill here. The useful part is learning how to understand a complicated system, make assumptions, model it, and reason from evidence. Those habits transfer well to programming. Also, your difficulty may be related to how the material is being taught. Physics can feel like memorizing disconnected formulas when the underlying math and relationships havenโ€™t become intuitive yet. Struggling with a class doesnโ€™t mean youโ€™re incapable of becoming a programmer.
Reply to this answer
SunnyOrbit6
Graphs are more connected to programming than physics is. Graphs are used to represent relationships and networks, and graph algorithms show up in areas like navigation, scheduling, recommendation systems, and data structures. Still, you usually learn the relevant algorithms gradually, and many standard solutions already exist. Math and logical thinking will help you, but programming is also its own skill. Start building small projects and let your interests guide you instead of assuming you must love every STEM subject.
Reply to this answer
BlueCedar19
There are programming jobs where physics matters a lot. Robotics, simulations, ray tracing, fluid dynamics, hardware, and some engineering software all involve concepts such as motion, forces, energy, or electromagnetism. If you eventually choose one of those areas, you can learn the relevant physics when you need it. For general software development, though, you can have a successful career without using physics regularly. Learn enough to pass your required classes, but donโ€™t treat it as a test of whether you belong in programming.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions