So you could use a solar module that has a vmp of 26 28v.
How much solar panel to charge 4 batteries in series.
You generally want to have the vmp of the solar panels 10 20 higher than the battery voltage.
So you need 1200 250 4 8 hours of bright sunlight.
Then divide the battery capacity which is 50 ah by the ampere per hour rating of the solar panel which is 1 25 amps which will be the charging time.
There are other solar panels with various power ratings you can install to charge your batteries such as 100 watts 150 watts 235 watts 250 watts and many more.
Charging time 40 hours 10 of 40.
Then add 10 of the charging time.
If you connect the four 6 volt batteries in series then its like one 24 volt battery.
The next step involved in sizing your system and also in determining how to calculate solar panel battery and inverter is to size your charge controller but before then we have to understand some components which you probably have not encountered and so do not understand this will give you a better understanding of the calculation.
A single solar panel of 280 watts will do the work for you.
If you have a 50 volt and 10 amp current coming from your solar panels but only want 15 volts the pnw charge controller will send a 15 volt 10 amp current into your battery.