The JPEG compression ratio comes from quantization as well as run-length Huffman encoding. You cannot separate them by talking about the compression ratio of just one of them.