There’s a good explanation here
Schengen Visa sticker validity The labels «FROM», «DU» and «VOM» are followed by the first day you are permitted to enter the Schengen Area, and the labels «UNTIL», «AU», and «BIS», stipulate the date by which you must leave the Schengen Area.
Duration of stay label
The label «DURATION OF STAY» «DUREE DE SEJOUR» and «DAUER DES
AUFENTHALTS» and the one immediately next to it with the words «DAYS»,
«JOURS» and «TAGE» tell you the number of days you can remain in the
Schengen Zone on each visit while your visa is valid.
Entering on the day of ‘to’ would mean you have to leave the same day.
For clarity, as mentioned in a comment by @phoog, the DURATION OF STAY number does not apply to each visit but to the life of the visa. For example, a multiple-entry visa with a duration of 20 days allows a single visit for 20 days or multiple visits totalling 20 days; it does not permit the bearer to be in the Schengen area for 40 days if they enter twice.