One can calculate the value of right using the following formula:
Value of right = [Number of right shares (market price − issue price)]/(Number of existing shares + number of right shares)