🔍

首页Home › 开发工具Developer Tools

📡 波特率计算器Baud Rate Calculator

由比特率与每符号比特数估算波特率(或反向),或按 UART 帧格式(起始位 + 数据位 + 校验位 + 停止位)算出每帧位数、每秒字节数和每字节耗时。本地处理。Estimate baud from bit rate and bits per symbol (or the reverse), or use the UART frame mode (start + data + parity + stop bits) to get bits per frame, bytes per second and time per byte. Processed locally.

使用说明与常见问题How-to & FAQ

「波特率计算器」是什么?What is the Baud Rate Calculator tool?

由比特率与每符号比特数估算波特率(或反向),或按 UART 帧格式(起始位 + 数据位 + 校验位 + 停止位)算出每帧位数、每秒字节数和每字节耗时。本地处理。Estimate baud from bit rate and bits per symbol (or the reverse), or use the UART frame mode (start + data + parity + stop bits) to get bits per frame, bytes per second and time per byte. Processed locally.

如何使用「波特率计算器」?How do I use the Baud Rate Calculator tool?

在「波特率计算器」中,填写「求」、「比特率 (bit/s)」、「每符号比特数」、「波特率」、「UART 波特率」等参数,结果会随输入实时计算并显示在下方。In the Baud Rate Calculator: Fill in "Solve for", "Bit rate (bit/s)", "Bits per symbol", "Baud", "UART baud rate"; results are recalculated instantly as you type.

波特 vs 比特?Baud vs bit?

波特是符号率;比特率 = 波特 × 每符号比特数。Baud is symbol rate; bit rate = baud × bits/symbol.

UART 帧模式怎么算?How does the UART frame mode work?

每帧位数 = 1 个起始位 + 数据位(5–9)+ 校验位(无为 0,奇/偶为 1)+ 停止位(1、1.5 或 2)。每秒字节数 = 波特率 ÷ 每帧位数,每字节耗时 = 每帧位数 ÷ 波特率。例如 9600 波特、8N1(8 数据位、无校验、1 停止位)每帧 10 位,即 960 字节/秒、每字节约 1.042 ms。Bits per frame = 1 start bit + data bits (5–9) + parity bit (0 for none, 1 for odd/even) + stop bits (1, 1.5 or 2). Bytes per second = baud ÷ bits per frame, and time per byte = bits per frame ÷ baud. For example 9600 baud 8N1 (8 data bits, no parity, 1 stop bit) uses 10 bits per frame: 960 bytes/s and about 1.042 ms per byte.

输入范围?Input limits?

每符号比特数须为 1–64 的整数;比特率和波特率须大于 0 且不超过 10¹⁵。Bits per symbol must be a whole number from 1 to 64; bit rate and baud must be above 0 and at most 10^15.

能举个计算实例吗?Can you show a worked example?

例如在「波特率计算器」中填 求 = 波特率,比特率 (bit/s) = 9600,每符号比特数 = 1,结果区显示:波特率:9,600 baudFor example, entering Solve for = Baud, Bit rate (bit/s) = 9600, Bits per symbol = 1 in the Baud Rate Calculator gives: Baud: 9,600 baud

哪些输入会被检查?Which inputs are validated?

「波特率计算器」会检查这些输入——「比特率 (bit/s)」、「每符号比特数」、「波特率」、「UART 波特率」:必须填写,不能为负数;绝对值超过 10¹⁵ 的数也会被拒绝。不符合时结果区显示具体提示,不会给出数字。The Baud Rate Calculator checks its inputs — "Bit rate (bit/s)", "Bits per symbol", "Baud", "UART baud rate": required, cannot be negative; numbers above 10¹⁵ in absolute value are rejected too. When a value fails, the result area names the problem instead of showing a number.

有哪些选项可以调整?What options can I adjust?

「波特率计算器」的设置:「求」可选 波特率、比特率、UART 帧(每秒字节数)(默认 波特率);「比特率 (bit/s)」默认 9600;「每符号比特数」默认 1;「波特率」默认 9600;「UART 波特率」默认 9600;「数据位」可选 5、6、7、8、9(默认 8);「校验位」可选 无、偶校验、奇校验(默认 无);「停止位」可选 1、1.5、2(默认 1)。每次生成结果都按当前设置处理。Settings in the Baud Rate Calculator — "Solve for": Baud, Bit rate, UART frame (bytes per second) (default Baud); "Bit rate (bit/s)" default 9600; "Bits per symbol" default 1; "Baud" default 9600; "UART baud rate" default 9600; "Data bits": 5, 6, 7, 8, 9 (default 8); "Parity": None, Even, Odd (default None); "Stop bits": 1, 1.5, 2 (default 1). The result always uses the current settings.

代码或数据会被上传吗?Is my code or data uploaded?

不会。「波特率计算器」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Baud Rate Calculator runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.

「波特率计算器」免费吗?需要注册吗?Is the Baud Rate Calculator free? Do I need an account?

「波特率计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Baud Rate Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🧾 TOML 生成器TOML Generator🔎 正则表达式测试Regexp Tester🧩 微信小程序组件说明表WeChat Mini Program Components📡 Curl 转代码Curl to Code🔩 拨码开关计算器DIP Switch Calculator🧾 JSON 格式化校验JSON Formatter & Validator🧪 正则表达式测试Regex Tester⏰ Cron 表达式解析Cron Expression Explainer🔀 YAML JSON 互转YAML to JSON Converter📊 CSV JSON 互转CSV to JSON ConverterⓂ️ Markdown 在线预览Markdown Live Preview🗄️ SQL 格式化/压缩SQL Formatter & Minifier

← 全部工具All tools