This is a tasty question.
Simple answer: Mars, because it already has a day which is about the right length, and heating planets is easier than cooling them.
Complicated answer: HOW much more difficult is it to terraform various planets?
To answer this question, I'm going to estimate (to order of magnitude) quantities of energy necessary to do stuff and express that in easily understood terms. Energy is measured in Joules (J). One joule is the energy necessary to heat a gram of water by about a quarter of a Celcius degree. Not very much!
In order to measure larger quantities, I use scientific notation. As an example, [math]10^6 = 1,000,000[/math]. The 6 means six zeroes after the 1. Scales like the Richter scale (for earthquakes) and decibels (for sound) would use just the 6 and be done with it!
Various amounts of energy in Joules and what you could do with it.
- [math]10^0=1J [/math]: Energy required to boil one teardrop.
- [math]10^3=1,000J = 1kJ[/math]: Energy released by eating 1/8 of a peanut.
- [math]10^6=1,000,000J = 1MJ[/math]: Energy required to boil a bottle of beer.
- [math]10^9=1,000,000,000J = 1GJ[/math]: Energy produced as electricity by a typical utility scale power plant in a second. Energy contained in a tank of gas.
- [math]10^{12}=1,000,000,000,000J = 1TJ[/math]: Kinetic energy of the space shuttle in orbit.
- [math]10^{15}=1,000,000,000,000,000J = 1PJ[/math]: Energy produced by a power plant in a month of continuous operation. Energy released by a large fission (not fusion) nuclear bomb.
- [math]10^{18}=1,000,000,000,000,000,000J = 1EJ[/math]: Energy released by a large earthquake.
- [math]10^{21}= 1ZJ[/math]: Energy consumed by the whole world in 2 years.
- [math]10^{24}=1YJ[/math]: Energy required to raise ocean temperature by 1 Celcius degree. Energy released by a huge meteorite impact.
- [math]10^{27}=1,000YJ[/math]: Energy required to boil the oceans. Energy produced by the sun in 10 seconds.
- [math]10^{30}=1,000,000YJ[/math]: Energy produced by the sun in 7 hours.
- [math]10^{33}=1,000,000,000YJ[/math]: Energy required to vaporize the Earth. Also the energy produced by the sun in a year.
From this we can conclude that the Death Star is a BAMF.
I'm happy to go into details in the comments regarding these calculations. I'll also explore a few different scenarios.
Mars
- Energy required to heat Mars from current average temperature of -60C to a more comfortable 15C (like Earth): [math]6\times10^{25}J[/math]. This is mostly in melting permafrost. Note that this is 10 million times more than the energy produced by the largest nuclear weapon ever built, so simply nuking Mars will not really help that much.
- It is, however, on par with the impact that wiped out the dinosaurs. Energy required to move a 10km asteroid onto a Mars (but not Earth) impacting trajectory: [math]~10^{22}J[/math], or [math]10^{20}J[/math] if you're prepared to wait a long time and use three-body interactions. A hundred smaller asteroids of the same total mass would be easier but still require the same total energy.
Conclusion: Asteroids/comets are tricky propositions, rather energetically painful, and messy. A big enough impact to melt all the permafrost and as a result reconstitute the atmosphere would likely make Mars a terrible place to live. Lots of dust. Dust cools the atmosphere and buries rovers. That said, it's possible that big hits in the past have temporarily warmed the planet for a few million years, and xenobiologists find that exciting.
Clearly, some subtlety is called for.
- Solar insolation at Mars: [math]10^{16}W[/math], or [math]10^{23}J/ Earth year[/math].
Mars' surface temperature is stable, which means all this energy falling on the surface is matched by radiation back out into space. In order to increase the surface temperature, one needs to reduce the amount of back radiation. Greenhouse effect! Greenhouse gasses are not my area of expertise, but I'll make some educated guesses anyway.
Water vapour and CO[math]_2[/math] are both good greenhouse gasses, but both are partially frozen at Mars' current temperature. As it heats, they'll sublime and add to the effect, which hopefully will lead to a jungle-like runaway effect. Various studies suggest a 5C shift in temperature is enough to trigger this. But in the meantime, methane and various HFCs such as perfluoromethane will have to do. Nitrous oxides also work brilliantly, but Mars seems to be quite nitrogen poor. We will have to get pretty good at making methane from local water and CO[math]_2[/math] for fuel, but warming a planet will require methane production on a scale comparable to fossil fuel burning on Earth. Yes, we're doing terraforming too...
- I'm going to guess that converting 1/1000[math]^{th}[/math] of Mars' atmosphere to methane would be a good start. Energy to do this: [math]10^{16}J[/math] (mainly in electrolysis of water).
This is electrical energy, which is easier to come by than rocket fuel. Nuclear power would be the way to go, but even solar power could take a decent bite out of this. Especially if solar-electrolysis becomes industrialised.
Another approach not entirely without merit would be to increase the solar flux by using GIANT mirrors.
- Energy required to launch a mirror to Mars-Sun L1 that would increase insolation to Earth levels: [math]10^{17}J[/math]. If you have nuclear powered self-replicating machinery, you could process a near-orbit asteroid (~200m across) into a giant mirror/solar sail, and sail it into position. That would reduce energy requirements incurred from building on a planet and launching that way.
Another proposed idea is to dig a few dozen enormous holes in the crust to let heat out to the surface.
- Energy required to remove [math]500 km^3[/math] of rock with explosives and trucks: [math]10^{16}J[/math]. Drilling deep shafts and setting off a daisy chain of big nukes could also do the trick, but would also cause lots of radioactive fallout.
Conclusion: A few different methods for terraforming are presented. The most conservative require on-order [math]10^{16}J[/math] of energy. While this is a lot, it's comparable to the annual production of a large nuclear or coal-fired power station. It is likely if a few thousand people on Mars can attain self-sufficiency that many of the above methods and more no-one has thought of will be employed to try and warm the atmosphere a little. However, a warm atmosphere of methane, CO[math]_2[/math], and HFCs are still poisonous, even if you can grow a few plants outside. Creating a breathable atmosphere would take centuries and possibly a gas mask.
Venus
Venus is a MUCH harder bet than Mars. While Mars could be terraformed in only a few thousand years, no gently-gently approach could ever work on Venus.
First, alternatives to terraforming. It would be possible to live on Venus in the high atmosphere, in giant floating cities. Using a standard space-station atmospheric mix at about half an earth atmosphere, a pressurized geodesic sphere would float naturally somewhere above the bulk of the clouds of sulfuric acid. Atmospheric motions would likely lead to some rotation about the polar areas, where inhabitants would experience a near-perpetual sunset. Floating cities could be mechanically rotated to provide a day-night cycle for on-board agriculture. The Venusian atmosphere is rich in carbon, oxygen, sulfur, and has trace quantities of water. These could be mined for building materials, while rarer elements could be mined from the surface with long scoops or imported from other places with space-plane shuttles.
But Venus is nearly as big as Earth, with similar gravity and heaps of sun. Floating cities are all very well, but we need to house billions of humans, not millions. What's the next step?
First, the atmosphere has got to go. 200 atmospheres of crushing pressure, heat, and sulfuric acid rain.
- Energy required for giant mirror to reflect all light from the surface: [math]10^{17}J[/math]. Same discussion as with Mars applies.
After a hundred years or so, the atmosphere freezes out onto the surface (briefly going through an interesting super-critical phase). While you wait, you can use it to absorb the impact of a few icy comets and moons, in order to give Venus some badly needed water. [math]10^{24}J[/math]. But we're not done yet. We need a day-night cycle that will allow plants to grow. Venus' day length is 116 days. We could recycle our freezing-mirror to create artificial days and nights on different parts of the planet, including the side facing away from the sun. But if it ever screws up between now and the end of time, everyone will either burn or freeze to death. All the precipitated atmosphere will rapidly asplode outward, and you'll be back to square one, only melting houses will be on youtube.
We need a way to spin Venus faster. The obvious approach is to crash asteroids into the surface to make it turn faster. Cost of this is [math]10^{22}J[/math] per asteroid, and you'd need all the asteroids in the solar system and then some. The problem is that Venus weighs MUCH more than the whole asteroid belt put together, and although an asteroid crashing to the surface seems fast, it's moving at most 10 or 20km/s faster than you are. This is not really good enough.
In fact, the mass of the atmosphere, now frozen out hundreds of meters thick all over the planet, is about the same as the mass of the entire asteroid belt, and it's already on Venus. All you have to do is chuck it off the surface fast enough and in the right direction, and you can spin the planet in any direction you like. In order to spin the planet up to a 24 hour day AND get rid of the frozen atmosphere, it needs to leave the surface at about [math]10^7 m/s[/math], which is a few percent of the speed of light. You would need tends of thousands of mass drivers scattered around the equatorial regions running constantly for decades at least. Needless to say the material leaves the surface faster than Venus' escape velocity. In fact, it can escape the sun, the galaxy, and the local group as well. A few well-aimed shots at Mars might help to top up their atmosphere. The energy required to do this is [math]\approx 10^{34}J[/math], which is about what the sun produces in a year. Obviously some pretty radical fusion reactors will be needed, but that's the easy part of the problem.
After this is done, the energy budget can be pilfered to sculpt a few ocean basins and continents, synthesize a desired atmosphere, open the sunshade a little, and start growing plants.
Conclusion: Because of the rotation problem, terraforming Venus will require insane amounts of energy. Whereas terraforming Mars requires a fraction of the energy reaching only it from the sun, Venus requires a substantial fraction of ALL the energy from the sun.
Postscript: I have no doubt made errors. Lets discuss in the comments and figure out better estimates. Also, some discussion of the energy cost to then apply these techniques to try and remedy some of the problems on Earth wouldn't go astray.
Slate article comments: This article was posted on the slate blog. Which Planet Would Be Easier to Terraform: Venus or Mars?
Some of the comments posited interesting ideas which I'll answer here.
- Magnetic fields! Some people asked whether Mars or Venus has a magnetic field, whether you could make one, whether you need one, etc.
Short answer is no. Neither Mars nor Venus has a strong magnetic field. Venus lacks rotation, so no convection to drive a magnetic field in its core. Mars lacks heat, so no magnetic heat engine there either. Mars has some fossil magnetic fields on rocks on the surface in some places. But this is not a particularly big deal. The rock beneath and gas above provides a lot of shielding at the surface, and a partially terraformed, thicker atmosphere would be even better. Failing that, sleeping underground or with a pile of dirt on the roof would be enough to reduce risks of fatal cancer well below risks of death from equipment failure. You could make a magnetic field, either locally or globally, with sufficiently large quantities of energy. As already stated, it wouldn't do that much to protect people on the surface. I once did the math for an orbital superconducting ring - it needs to be about 10m across to avoid current saturation. Unfortunately it is dynamically unstable, and if an asteroid ever makes a hole in it, all the energy will be dumped very quickly into x-rays via Brehmstrahlung as electrons are accelerated across the gap. Heating will destroy the super conductor, which will promptly boil into a spectacular expanding ring of plasma. The x-rays alone will cook everything within an AU, which slightly undermines its initial shielding purpose. Likewise, a local magnetic shield is less useful than a big pile o' dirt. As for the atmosphere, it will slowly be stripped away by solar radiation, but on a timescale of millions of years. Presumably if that becomes a problem, we can teleport some extra gasses from the gas giants at that time. - Gravity and children. I am not an expert in embryology. There is some evidence to suggest that microgravity or reduced gravity could be harmful to embryos or children. I suspect this evidence is grossly overstated by people who wish to obtain grants to research this topic. The strongest reason to think that it'll be okay (IMO) is that both early life (evolved in the ocean) and embryos form in neutrally buoyant conditions. Likewise, mothers confined to bed generally give birth to healthy children, despite gravity being in the 'wrong' direction. Postnatal growth is another issue. Some sci-fi authors think that children will grow taller in lower gravity. We do know that children who suffer injuries or deformities often grow bent limbs, due to a lack of regular pressures etc. Today, many of these effects are treatable through surgery. If it proves to be an issue, children may sleep and spend part of the day in a large conical centrifuge, or else wear heavy clothes to provide additional force. Bone demineralisation is a more serious issue, as bones will not be as strong without regular use. This is much less likely to be a problem on Mars as in orbit, however. Early settlers will have plenty of work to do, lifting stuff. Returning to earth may require aggressive artificial gravity on board, or some sort of exo-skeleton.
- Move Mars or Venus to Earth orbit. Each planet is in an orbital resonance. Moving one would likely either cause instability and eventual expulsion or collision with another planet, or more likely, self correct back to its original orbit, with Jupiter eating all the energy you expended.
- Microbes to eat sulfuric acid on Venus. You need a lot more water for this to work. Maybe you could sacrifice Europa.