The short answer
There is no fixed number. Counting major fields usually gives a total from about ten to several dozen, depending on how they are grouped. Counting specialized subfields gives a much larger number.
Three broad families
A common grouping sorts the sciences into three families:
- Natural sciences study the physical and living world, including physics, chemistry, and biology.
- Formal sciences study abstract systems, such as mathematics and logic.
- Social sciences study people, societies, and behavior, including psychology and economics.
How to count
Whether a field counts as its own branch depends on the rules you use. A field that splits into specialties may count as one branch or several. Biology is one major field, but it splits into botany, zoology, and many more. Physics splits into areas such as optics and thermodynamics.
Why the number keeps changing
New fields often form when two existing ones combine. Biochemistry joins biology and chemistry, and biophysics joins biology and physics. Computer science grew into a major field as computing became central to research. Older fields can also split or merge, so any fixed count is a snapshot of one moment.
Subfields add up
A short list of major fields hides the detail below it. Each field has subfields, and each subfield has specialties of its own. Counting those, the total can run into the hundreds.
Answering this in class
Name the three families, then give two or three fields in each. If the question refers to a particular list, such as “What are the 15 branches of science?”, use that list and say so. Giving a number with no stated basis is harder to defend than explaining how you counted.