There are three ways in which an IPO allotment can be done - If the IPO is undersubscribed then everyone gets their due shares that they applied for.If the IPO is oversubscribed then the company can do a proportionate allotment, whereby everyone gets a fraction of the shares that they applied for.The company can also do a normal allotment whereby certain applicants receive shares but certain applicants do not receive any shares at all.