percentage = partialAmount / totalAmount totalAmount = partialAmount / percentage partialAmount = percentage * totalAmount