BTC Locktime Calculator
Use this BTC locktime calculator to decode raw nLockTime values or convert a UTC date into the timestamp-based locktime used in Bitcoin transactions.
Example Usage
- Check whether a raw locktime value is treated as a block height or a timestamp.
- Convert a future UTC date into a timestamp-based locktime value.
- Inspect the meaning of locktime fields when debugging raw Bitcoin transactions.
BTC Locktime Calculator Explained
A BTC locktime calculator helps you interpret or construct Bitcoin nLockTime values. In Bitcoin, locktime values below 500,000,000 are treated as block heights, while larger values are interpreted as Unix timestamps. This tool lets you decode an existing raw locktime value or turn a UTC date into the timestamp form used by time-based locktime transactions. That is useful for transaction planning, script review, wallet debugging, and understanding when a transaction is meant to become valid.
FAQ
What is nLockTime?
nLockTime is a Bitcoin transaction field that can delay when a transaction becomes valid for inclusion.
How do I know whether a locktime is height-based or time-based?
Values below 500,000,000 are block heights, while larger values are treated as Unix timestamps.
Does locktime alone guarantee a delay?
Not always. Sequence settings and overall transaction semantics also matter in Bitcoin transaction validity rules.
Related Tools
EVM Address Checker
Validate Ethereum and EVM addresses, including checksum formatting.
EVM Checksum Converter
Convert an EVM address into its EIP-55 checksum format instantly.
Token Decimals Converter
Convert token display amounts to raw integer units using token decimals.
Wei Eth Converter
Convert between wei, gwei, and ETH amounts instantly.
Gas Fee Calculator
Calculate total gas cost from gas limit and gas price inputs.