Yes, if the chance of rain is 50% or more for the hours you are out. From about 20%, a small folding umbrella in your bag is cheap insurance. Below that, leave it. In a strong wind, wear a waterproof jacket with a hood instead: umbrellas lose that fight.
An umbrella is either the hero of your day or something you carry from place to place and then leave on a train. Here is how to tell which.
It is the chance that it rains at least a little at that spot during that period. It does not mean rain for 40% of the time, or over 40% of the area. The US National Weather Service counts anything from a hundredth of an inch, about a quarter of a millimetre. So even a high chance can mean one short shower.
Look at the hours you are out
A 70% chance of rain at four in the morning is not your problem. Most weather apps show the chance hour by hour. Check the hours you will actually be outside, and do not forget the walk home.
Wind beats umbrellas
In a strong, gusty wind, an umbrella turns inside out, pokes other people and keeps only your head dry. A waterproof jacket with a hood works better and leaves your hands free.
Small or big
A small folding umbrella fits in a bag and is enough for a passing shower. A big one with a straight handle keeps more of you dry, but you have to carry it all day. On a 20 to 50% day, take the small one.
Drizzle
Fine drizzle hardly seems to need an umbrella, but it soaks you slowly over an hour. A hood or a hat with a brim is often more practical than holding something over your head.
When in doubt
Pack the small one. The only cost is remembering to bring it home again.