There is a massive speed difference because the A3640 cannot use one of the best features of the 040 which is BURST. Almost 1.6x clock speed increase + burst support made the WarpEngine much faster.
An A3640 is many times faster than an 030x50 due to architectural differences, bigger caches etc.
There should be a formula that would give me precise answers when comparing processors
There is. It's called benchmarks
http://amiga.resource.cx/perf/aibb.htmlAs you can see the WarpEngine is anything between 1.25x and 2x faster than A3640 and 3x faster on RAM because of burst access.