1024^3 = 1073741824
2048^3 = 8589934592 / 1024^3 = 8.
It depends on the implementation. Some implementations are more computationally expensive than others.
See: http://devcentral.f5.com/weblogs/macvittie/archive/2010/09/1...
Average of 5x reduction in transactions per second when moving from 1024 bit to 2048 bit keys.
I'm also curious where the 30x comes from. If cost is indeed the square of key size I would expect:
Cost(1024) = (1024*x)^2
Cost(2048) = (2048*x)^2 = (2*1024*x)^2 = 4 * (1024*x)^2
Which is a 4x increase in cost, not 30x.
How'd you get 30? From what you said, it sounds like it should be 2^3 = 8 times as expensive.