To get the ratio, it's going to depend on the filesystem.
On ext2/3/4 then
tune2fs -l /dev/special
will display all the paramaters. You'll have to calculate the ratio yourself.
There isn't any way to change the ratio on an existing ext2/3/4 filesystem you have to create a new filesystem.