both contributions and earnings are taxable
for traditional ira with pre-tax money, both contributions and earnings are taxable when converted or withdrawn. If contributions were from after tax money, convertion has to be prorated over both contributions and earnings.