Charitable giving 07 - Land and buildings gifted to charity
You can claim tax relief for any gift, or sale at less than market value, to a charity of a 'qualifying interest in land', that is, the whole of your beneficial interest in that freehold or leasehold land in the UK.
Enter the value of the net benefit to the charity of the land minus any amounts or benefits received from the charity. Add to that value any costs you bear in connection with the gift or sale, such as legal or valuer's fees. The charity must give you a certificate specifying the land and interest it has accepted from you.
The net benefit to the charity is usually the market value of the qualifying investment, but special rules apply if the charity is placed under any obligation in connection with the transfer to it of the investment.
For more information follow the link Help Sheet 342 - Charitable giving.