On MySQL website I found a very good tool to do
MySQL TCO (Total Cost of Ownership) Savings Calculator.
My intention here is not to advertise MySQL or how much savings one can do using it (as different databases gets used according to the specific requirements), but I just want to share the information about the tool (Calculator) for calculation of TCO for Databases like MS SQL Server, IBM DB2, Sybase, Oracle and MySQL.
Not just that it also provides information in tabular format, which is also helpful to make comparisons.
Great work MySQL team...