The first priority should be safe operation of both the amp an cab.
Check the specs.
For a
tube amp you need to know the expected impedance and power ratings. The amp will make the same power as long as you show it the expected load. Don't assume the amp is safe with an impedance mismatch...Impedance mismatch is when the load presented by the cabs is not what the amp expects.
The Ampeg V4B has 8 ohm, 4 ohm, and 2 ohm outputs and it is rated for 100W
For a
solid state amp you need to know the minimum impedance the amp is rated for. You also need to know how much power the amp is rated for at the load presented by speakers.
Mesa Subway 800 amps are rated 400W at 8 ohms, 800W at 4 ohms, and 800W at 2 ohms. Minimum impedance is 2 ohms.
For
speakers, ideally you need the impedance, the RMS power rating, and the mechanical power rating. The combined impedance all speakers is compared to how much power the amp can produce.
A speaker's RMS power rating is often based on how much power the voice coil can safely dissipate. The Mechanical power rating can be more important for bass than the RMS power rating. Why? At low frequencies the speaker cones tend to move more. If you feed them too much power the cone will exceed it's max linear displacement capabilities, which can cause damage to the speaker's cone and suspension.
Unfortunately most cab makers do not publish any data on their designs mechanical power handling. Also how much the cones move is a function of both the driver and the way the cab is tuned. So if you put the same driver in a different cab, the drivers mechanical power handling capabilities will change. The main point is speaker's mechanical power ratings are not necessarily correlated with their RMS power ratings.
It's usually best if the amp's RMS power rating is equal to or lower than the combined RMS power rating of your cabs. However, the bottom line with speakers is you need to use a bit of discretion and restraint because it is possible to destroy the drivers with less than a cab's RMS power rating if you go nuts and crank the lows while pushing the amp to clipping.
You also need to know what happens when you add an extension cab. Ideally you use matching cabs.
Most of the time multiple speakers are connected in parallel, but there are rare examples where speakers are connected in series. If the impedance of both cabs is the same, for parallel you simply divide the impedance by the number of cabs. For example two 8 ohm cabs results in 8/2 = 4 ohms. Four 8 ohm cabs in parallel results in 8/4 = 2 ohms. If the impedance matches, the cabs share available power equally, power handling doubles, and sensitivity goes up +3dB.
If you connect two cabs with different impedances in parallel, use this formula where Z is impedance:
For example if you have an 8 ohm cabinet and a 4 ohm cabinet:
Power is not shared equally when the impedance is different. For 8 ohms and 4 ohms, divide the available power by 3. The 4 ohm cab gets two shares and the 8 ohm cab gets one share. For examples if the amp can produce 300W: 300/3 = 100W per share. The 4 ohm cab gets 100 x 2 = 200W and the 8 ohm cab gets 100 x 1 = 100W
In the rare instance the cabs are connected in series, the impedance simply adds. 8 + 8 = 16 ohms. 8 + 4 = 12 ohms. If the impedances match, the available power is shared equally. If impedances are different, the higher impedance cab dissipates more power.