How to Calculate Stamp Duty in an Acrobat PDF Form
Question details
The user needs to set up a stamp duty or transfer duty calculation within a PDF form using Adobe Acrobat.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating automated calculation fields for legal or financial PDF forms to determine stamp duty.
- Observed behavior
- Acrobat lacks a built-in stamp duty calculator, requiring the implementation of a custom JavaScript solution.
Gather your local stamp duty rates, value thresholds, and any specific exemption rules before writing the script, as these tax brackets vary significantly by jurisdiction.
Create a Custom JavaScript Calculation in Adobe Acrobat
Since Acrobat lacks a native stamp duty calculator, you can implement one by writing a custom JavaScript formula in the form field properties to handle the progressive tax brackets.
Stamp duty typically involves tiered rates where different percentages apply to different portions of a property's value. A standard arithmetic calculation is insufficient for this, so you must use a custom JavaScript snippet containing 'if/else' statements to process the logic correctly.
Open your document in Adobe Acrobat, navigate to the Tools pane, and select 'Prepare Form'.
Right-click the target text field where the stamp duty should appear and choose 'Properties' from the context menu.
Go to the 'Calculate' tab inside the Properties dialog and select the 'Custom calculation script' radio button.
Click the 'Edit' button and input your JavaScript code reflecting the specific regional stamp duty brackets, rates, and rounding rules. Click 'OK' when finished.
Close the form editing mode and enter various test values into your base input fields. Ensure the output is correct at every rate boundary.

Create and Fill PDF Forms Easily with WPS Office
WPS Office features a robust PDF editor that allows you to seamlessly insert interactive forms, manage text fields, and configure document properties, serving as a powerful and accessible alternative for your PDF processing needs.
- 1. Open the PDF: Launch WPS Office and open your PDF form document.
- 2. Access Form Tools: Click on the 'Form' tab in the top ribbon to reveal the form editing toolbar.
- 3. Add a Text Field: Select the 'Text Field' icon and draw the input box on your document where the calculation result should be displayed.
- 4. Configure Properties: Double-click the newly created text field to open its Properties window and adjust the necessary formatting or functional settings.

Frequently Asked Questions
Can I use simplified field notation to calculate stamp duty?
No, stamp duty generally requires conditional logic (if/else statements) to account for different value brackets and thresholds. Simplified field notation only supports basic arithmetic, so you must use a custom calculation script.
Why is my PDF custom calculation script not updating immediately?
The field calculating the stamp duty might be placed incorrectly in the PDF's field calculation order. You need to adjust the calculation order in your Form editing pane so the duty is calculated after all required input fields are processed.
Will this JavaScript calculation work on mobile devices?
Advanced JavaScript calculations in PDF forms are generally not supported on standard mobile PDF readers. It is highly recommended that users fill out complex forms using a desktop application to ensure scripts execute properly.




